mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Deprecate invoice fields
This commit is contained in:
parent
3434d5dd70
commit
aa0b9ed976
@ -127,8 +127,8 @@ class InvoiceTransformer extends EntityTransformer
|
|||||||
'custom_value2' => (string) $invoice->custom_value2 ?: '',
|
'custom_value2' => (string) $invoice->custom_value2 ?: '',
|
||||||
'custom_value3' => (string) $invoice->custom_value3 ?: '',
|
'custom_value3' => (string) $invoice->custom_value3 ?: '',
|
||||||
'custom_value4' => (string) $invoice->custom_value4 ?: '',
|
'custom_value4' => (string) $invoice->custom_value4 ?: '',
|
||||||
'has_tasks' => (bool) $invoice->has_tasks,
|
'has_tasks' => (bool) false, //@deprecated v5.0.23
|
||||||
'has_expenses' => (bool) $invoice->has_expenses,
|
'has_expenses' => (bool) false, //@deprecated v5.0.23
|
||||||
'custom_surcharge1' => (float) $invoice->custom_surcharge1,
|
'custom_surcharge1' => (float) $invoice->custom_surcharge1,
|
||||||
'custom_surcharge2' => (float) $invoice->custom_surcharge2,
|
'custom_surcharge2' => (float) $invoice->custom_surcharge2,
|
||||||
'custom_surcharge3' => (float) $invoice->custom_surcharge3,
|
'custom_surcharge3' => (float) $invoice->custom_surcharge3,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user