implement invoice.footer

This commit is contained in:
David Bomba 2019-10-30 17:08:18 +11:00
parent 14ea3fe256
commit 2759fb4b72

View File

@ -107,7 +107,7 @@ class InvoiceTransformer extends EntityTransformer
'tax_name3' => $invoice->tax_name3 ? $invoice->tax_name3 : '',
'tax_rate3' => (float) $invoice->tax_rate3,
'is_amount_discount' => (bool) ($invoice->is_amount_discount ?: false),
'invoice_footer' => $invoice->invoice_footer ?: '',
'footer' => $invoice->footer ?: '',
'partial' => (float) ($invoice->partial ?: 0.0),
'partial_due_date' => $invoice->partial_due_date ?: '',
'custom_value1' => (string) $invoice->custom_value1 ?: '',