mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
custom taxes boolean added to transformer
This commit is contained in:
parent
4dc7a8d5f1
commit
75fa8566c3
@ -66,7 +66,9 @@ class InvoiceTransformer extends EntityTransformer
|
|||||||
'account_key' => $this->account->account_key,
|
'account_key' => $this->account->account_key,
|
||||||
'user_id' => (int) $invoice->user->public_id + 1,
|
'user_id' => (int) $invoice->user->public_id + 1,
|
||||||
'custom_value1' => $invoice->custom_value1,
|
'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,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -80,7 +80,7 @@ return [
|
|||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'key' => env('APP_KEY', ''),
|
'key' => env('APP_KEY', '12341234123412341234123412341234'),
|
||||||
|
|
||||||
'cipher' => env('APP_CIPHER', MCRYPT_RIJNDAEL_128),
|
'cipher' => env('APP_CIPHER', MCRYPT_RIJNDAEL_128),
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user