Refactor company logo URL

This commit is contained in:
David Bomba 2020-11-04 11:21:28 +11:00
parent 3e0b7a0659
commit 146df11c1f

View File

@ -99,7 +99,7 @@ trait GenerateMigrationResources
'recurring_number_prefix' => $this->account->recurring_invoice_number_prefix ? $this->account->recurring_invoice_number_prefix : 'R', 'recurring_number_prefix' => $this->account->recurring_invoice_number_prefix ? $this->account->recurring_invoice_number_prefix : 'R',
'enable_client_portal' => $this->account->enable_client_portal ? (bool) $this->account->enable_client_portal : false, 'enable_client_portal' => $this->account->enable_client_portal ? (bool) $this->account->enable_client_portal : false,
'invoice_fields' => $this->account->invoice_fields ?: '', 'invoice_fields' => $this->account->invoice_fields ?: '',
'company_logo' => $this->account->logo ?: '', 'company_logo' => $this->account->getLogoURL() ?: '',
'embed_documents' => $this->account->invoice_embed_documents ? (bool) $this->account->invoice_embed_documents : false, 'embed_documents' => $this->account->invoice_embed_documents ? (bool) $this->account->invoice_embed_documents : false,
'document_email_attachment' => $this->account->document_email_attachment ? (bool) $this->account->document_email_attachment : false, 'document_email_attachment' => $this->account->document_email_attachment ? (bool) $this->account->document_email_attachment : false,
'enable_client_portal_dashboard' => $this->account->enable_client_portal_dashboard ? (bool) $this->account->enable_client_portal_dashboard : true, 'enable_client_portal_dashboard' => $this->account->enable_client_portal_dashboard ? (bool) $this->account->enable_client_portal_dashboard : true,