mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-12 22:22:32 +01:00
Merge pull request #799 from turbo124/develop
Bug fixes on invoice transformer
This commit is contained in:
commit
0ee790f6b4
@ -87,9 +87,9 @@ class InvoiceTransformer extends EntityTransformer
|
||||
'end_date' => $invoice->end_date,
|
||||
'last_sent_date' => $invoice->last_sent_date,
|
||||
'recurring_invoice_id' => (int) $invoice->recurring_invoice_id,
|
||||
'tax_name1' => $invoice->tax_name1,
|
||||
'tax_name1' => $invoice->tax_name1 ? $invoice->tax_name1 : '',
|
||||
'tax_rate1' => (float) $invoice->tax_rate1,
|
||||
'tax_name2' => $invoice->tax_name2,
|
||||
'tax_name2' => $invoice->tax_name2 ? $invoice->tax_name2 : '',
|
||||
'tax_rate2' => (float) $invoice->tax_rate2,
|
||||
'amount' => (float) $invoice->amount,
|
||||
'balance' => (float) $invoice->balance,
|
||||
|
Loading…
Reference in New Issue
Block a user