mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Update InvoiceItemTransformer.php
This commit is contained in:
parent
e1eb97b206
commit
08532cc042
@ -21,6 +21,8 @@ class InvoiceItemTransformer extends EntityTransformer
|
|||||||
'tax_name2' => $item->tax_name2 ? $item->tax_name2 : '',
|
'tax_name2' => $item->tax_name2 ? $item->tax_name2 : '',
|
||||||
'tax_rate2' => (float) $item->tax_rate2,
|
'tax_rate2' => (float) $item->tax_rate2,
|
||||||
'invoice_item_type_id' => (int) $item->invoice_item_type_id,
|
'invoice_item_type_id' => (int) $item->invoice_item_type_id,
|
||||||
|
'custom_value1' => $item->custom_value1,
|
||||||
|
'custom_value2' => $item->custom_value2,
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user