mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Minor fixes
This commit is contained in:
parent
94a40a74b3
commit
ed3b8240d6
@ -463,7 +463,7 @@ class BaseImport
|
||||
} else {
|
||||
$invoice = InvoiceFactory::create(
|
||||
$this->company->id,
|
||||
$this->getUserIDForRecord($invoice_data)
|
||||
$this->company->owner()->id
|
||||
);
|
||||
if (! empty($invoice_data['status_id'])) {
|
||||
$invoice->status_id = $invoice_data['status_id'];
|
||||
|
@ -397,7 +397,7 @@ class BaseTransformer
|
||||
/**
|
||||
* @param $name
|
||||
*
|
||||
* @return int
|
||||
* @return float
|
||||
*/
|
||||
public function getTaxRate($name)
|
||||
{
|
||||
@ -437,7 +437,7 @@ class BaseTransformer
|
||||
* @param mixed $data
|
||||
* @param mixed $field
|
||||
*
|
||||
* @return null
|
||||
* @return ?string
|
||||
*/
|
||||
public function getDate($data, $field)
|
||||
{
|
||||
|
@ -24,8 +24,8 @@ use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
* @property int|null $updated_at
|
||||
* @property int|null $deleted_at
|
||||
* @property string $name
|
||||
* @property string $rate
|
||||
* @property int $is_deleted
|
||||
* @property float $rate
|
||||
* @property bool $is_deleted
|
||||
* @property-read mixed $hashed_id
|
||||
* @property-read mixed $tax_rate_id
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|BaseModel company()
|
||||
|
Loading…
x
Reference in New Issue
Block a user