mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
fixes for invoice transformer
This commit is contained in:
parent
7f451eeab2
commit
608f580760
@ -154,8 +154,8 @@ class InvoiceTransformer extends EntityTransformer
|
||||
'partial_due_date' => $invoice->partial_due_date ?: '',
|
||||
'custom_value1' => (float) $invoice->custom_value1,
|
||||
'custom_value2' => (float) $invoice->custom_value2,
|
||||
'custom_taxes1' => (bool) $invoice->custom_taxes1,
|
||||
'custom_taxes2' => (bool) $invoice->custom_taxes2,
|
||||
'custom_value3' => (bool) $invoice->custom_value3,
|
||||
'custom_value4' => (bool) $invoice->custom_value4,
|
||||
'has_tasks' => (bool) $invoice->has_tasks,
|
||||
'has_expenses' => (bool) $invoice->has_expenses,
|
||||
'custom_text_value1' => $invoice->custom_text_value1 ?: '',
|
||||
|
Loading…
x
Reference in New Issue
Block a user