custom taxes boolean added to transformer

This commit is contained in:
David Bomba 2015-12-17 13:33:40 +11:00
parent 4dc7a8d5f1
commit 75fa8566c3
2 changed files with 4 additions and 2 deletions

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,
];
}
}

View File

@ -80,7 +80,7 @@ return [
|
*/
'key' => env('APP_KEY', ''),
'key' => env('APP_KEY', '12341234123412341234123412341234'),
'cipher' => env('APP_CIPHER', MCRYPT_RIJNDAEL_128),