Merge pull request #567 from turbo124/master

Custom Taxes boolean added to InvoiceTransformer.
This commit is contained in:
David Bomba 2015-12-17 13:35:51 +11:00
commit 27ee8bcb6e

View File

@ -66,7 +66,9 @@ class InvoiceTransformer extends EntityTransformer
'account_key' => $this->account->account_key,
'user_id' => (int) $invoice->user->public_id + 1,
'custom_value1' => $invoice->custom_value1,
'custom_value2' => $invoice->custom_value2
'custom_value2' => $invoice->custom_value2,
'custom_taxes1' => (bool) $invoice->custom_taxes1,
'custom_taxes2' => (bool) $invoice->custom_taxes2,
];
}
}