mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fixes for invoice item types
This commit is contained in:
parent
e0cda24c09
commit
a3029c4c74
@ -491,8 +491,12 @@ trait GenerateMigrationResources
|
|||||||
'product_key' => $item->product_key,
|
'product_key' => $item->product_key,
|
||||||
'notes' => $item->notes,
|
'notes' => $item->notes,
|
||||||
'discount' => (float) $item->discount,
|
'discount' => (float) $item->discount,
|
||||||
'tax_name1' => $item->tax_name1,
|
'tax_name1' => (string)$item->tax_name1,
|
||||||
'tax_rate1' => (float) $item->tax_rate1,
|
'tax_rate1' => (float) $item->tax_rate1,
|
||||||
|
'tax_name2' => (string) $item->tax_name2,
|
||||||
|
'tax_rate2' => (float) $item->tax_rate2,
|
||||||
|
'tax_name3' => (string) '',
|
||||||
|
'tax_rate3' => (float) 0,
|
||||||
'date' => $item->created_at,
|
'date' => $item->created_at,
|
||||||
'custom_value1' => $item->custom_value1,
|
'custom_value1' => $item->custom_value1,
|
||||||
'custom_value2' => $item->custom_value2,
|
'custom_value2' => $item->custom_value2,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user