1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Fix for JSON import

This commit is contained in:
Hillel Coren 2017-08-28 10:28:00 +03:00
parent da770d8e15
commit 04bbb0ff6f
2 changed files with 6 additions and 2 deletions

View File

@ -100,7 +100,9 @@ class Account extends Eloquent
'pdf_email_attachment',
'font_size',
'invoice_labels',
'custom_design',
'custom_design1',
'custom_design2',
'custom_design3',
'show_item_taxes',
'military_time',
'enable_reminder1',

View File

@ -203,7 +203,9 @@ class AccountTransformer extends EntityTransformer
'pdf_email_attachment' => (bool) $account->pdf_email_attachment,
'font_size' => $account->font_size,
'invoice_labels' => $account->invoice_labels,
'custom_design' => $account->custom_design,
'custom_design1' => $account->custom_design1,
'custom_design2' => $account->custom_design2,
'custom_design3' => $account->custom_design3,
'show_item_taxes' => (bool) $account->show_item_taxes,
'military_time' => (bool) $account->military_time,
'enable_reminder1' => $account->enable_reminder1,