mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Remove stale invoice_type_id properties
This commit is contained in:
parent
20b13d131b
commit
97180508e8
@ -52,7 +52,6 @@ class Credit extends BaseModel
|
|||||||
'terms',
|
'terms',
|
||||||
'public_notes',
|
'public_notes',
|
||||||
'private_notes',
|
'private_notes',
|
||||||
'invoice_type_id',
|
|
||||||
'tax_name1',
|
'tax_name1',
|
||||||
'tax_rate1',
|
'tax_rate1',
|
||||||
'tax_name2',
|
'tax_name2',
|
||||||
|
@ -63,7 +63,6 @@ class Invoice extends BaseModel
|
|||||||
'terms',
|
'terms',
|
||||||
'public_notes',
|
'public_notes',
|
||||||
'private_notes',
|
'private_notes',
|
||||||
'invoice_type_id',
|
|
||||||
'tax_name1',
|
'tax_name1',
|
||||||
'tax_rate1',
|
'tax_rate1',
|
||||||
'tax_name2',
|
'tax_name2',
|
||||||
|
@ -52,7 +52,6 @@ class Quote extends BaseModel
|
|||||||
'public_notes',
|
'public_notes',
|
||||||
'private_notes',
|
'private_notes',
|
||||||
'project_id',
|
'project_id',
|
||||||
'invoice_type_id',
|
|
||||||
'tax_name1',
|
'tax_name1',
|
||||||
'tax_rate1',
|
'tax_rate1',
|
||||||
'tax_name2',
|
'tax_name2',
|
||||||
|
@ -43,7 +43,6 @@ class InvoiceTransformer extends EntityTransformer
|
|||||||
'terms' => $invoice->terms ?: '',
|
'terms' => $invoice->terms ?: '',
|
||||||
'public_notes' => $invoice->public_notes ?: '',
|
'public_notes' => $invoice->public_notes ?: '',
|
||||||
'is_deleted' => (bool) $invoice->is_deleted,
|
'is_deleted' => (bool) $invoice->is_deleted,
|
||||||
'invoice_type_id' => (int) $invoice->invoice_type_id,
|
|
||||||
'tax_name1' => $invoice->tax_name1 ? $invoice->tax_name1 : '',
|
'tax_name1' => $invoice->tax_name1 ? $invoice->tax_name1 : '',
|
||||||
'tax_rate1' => (float) $invoice->tax_rate1,
|
'tax_rate1' => (float) $invoice->tax_rate1,
|
||||||
'tax_name2' => $invoice->tax_name2 ? $invoice->tax_name2 : '',
|
'tax_name2' => $invoice->tax_name2 ? $invoice->tax_name2 : '',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user