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

Minor fixes for migration

This commit is contained in:
David Bomba 2020-05-05 10:31:58 +10:00
parent db0c5fc578
commit eaa261dad8

View File

@ -58,7 +58,7 @@ trait GenerateMigrationResources
'postal_code' => $this->account->postal_code ?: '',
'country_id' => $this->account->country_id ? (string) $this->account->country_id : '840',
'invoice_terms' => $this->account->invoice_terms ?: '',
'enabled_item_tax_rates' => $this->account->invoice_item_taxes ? (bool) $this->account->invoice_item_taxes : false,
'enabled_item_tax_rates' => $this->account->invoice_item_taxes ? 2 : 0,
'invoice_design_id' => $this->account->invoice_design_id ?: (string) $this->account->invoice_design_id ?: '1',
'phone' => $this->account->work_phone ?: '',
'email' => $this->account->work_email ?: '',