1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-09 20:52:56 +01:00

Merge pull request #5302 from turbo124/master

Add has_tasks and has_expenses to migration transformer
This commit is contained in:
David Bomba 2021-03-31 21:31:57 +11:00 committed by GitHub
commit fb294a7f7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -501,6 +501,8 @@ info("get company");
'footer' => $invoice->invoice_footer ?: '', 'footer' => $invoice->invoice_footer ?: '',
'public_notes' => $invoice->public_notes ?: '', 'public_notes' => $invoice->public_notes ?: '',
'private_notes' => $invoice->private_notes ?: '', 'private_notes' => $invoice->private_notes ?: '',
'has_tasks' => $invoice->has_tasks,
'has_expenses' => $invoice->has_expenses,
'terms' => $invoice->terms ?: '', 'terms' => $invoice->terms ?: '',
'tax_name1' => $invoice->tax_name1, 'tax_name1' => $invoice->tax_name1,
'tax_name2' => $invoice->tax_name2, 'tax_name2' => $invoice->tax_name2,