1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Fixes for migration

This commit is contained in:
David Bomba 2021-03-17 20:42:17 +11:00
parent 60e0154ac6
commit 59a1596732

View File

@ -132,6 +132,7 @@ info("get company");
'font_size' => $this->account->font_size ?: 9, 'font_size' => $this->account->font_size ?: 9,
'invoice_labels' => $this->account->invoice_labels ?: '', 'invoice_labels' => $this->account->invoice_labels ?: '',
'military_time' => $this->account->military_time ? (bool) $this->account->military_time : false, 'military_time' => $this->account->military_time ? (bool) $this->account->military_time : false,
'invoice_number_counter' => $this->account->invoice_number_counter ?: 0,
'invoice_number_pattern' => $this->account->invoice_number_pattern ?: '', 'invoice_number_pattern' => $this->account->invoice_number_pattern ?: '',
'quote_number_pattern' => $this->account->quote_number_pattern ?: '', 'quote_number_pattern' => $this->account->quote_number_pattern ?: '',
'quote_terms' => $this->account->quote_terms ?: '', 'quote_terms' => $this->account->quote_terms ?: '',