diff --git a/database/migrations/2020_12_02_090527_update_crater_version_400.php b/database/migrations/2020_12_02_090527_update_crater_version_400.php index 804ad6d8..c17b9568 100644 --- a/database/migrations/2020_12_02_090527_update_crater_version_400.php +++ b/database/migrations/2020_12_02_090527_update_crater_version_400.php @@ -80,16 +80,16 @@ class UpdateCraterVersion400 extends Migration FileDisk::create([ 'credentials' => json_encode($publicDisk), - 'name'=> 'local_public', - 'type'=> 'SYSTEM', + 'name' => 'local_public', + 'type' => 'SYSTEM', 'driver' => 'local', 'set_as_default' => false, ]); FileDisk::create([ 'credentials' => json_encode($privateDisk), - 'name'=> 'local_private', - 'type'=> 'SYSTEM', + 'name' => 'local_private', + 'type' => 'SYSTEM', 'driver' => 'local', 'set_as_default' => true, ]); @@ -107,9 +107,9 @@ class UpdateCraterVersion400 extends Migration private function updateCompanySettings($user) { - $defaultInvoiceEmailBody = 'You have received a new invoice from {COMPANY_NAME}.Please download using the button below:'; - $defaultEstimateEmailBody = 'You have received a new estimate from {COMPANY_NAME}.Please download using the button below:'; - $defaultPaymentEmailBody = 'Thank you for the payment.Please download your payment receipt using the button below:'; + $defaultInvoiceEmailBody = 'You have received a new invoice from {COMPANY_NAME}. Please download using the button below:'; + $defaultEstimateEmailBody = 'You have received a new estimate from {COMPANY_NAME}. Please download using the button below:'; + $defaultPaymentEmailBody = 'Thank you for the payment. Please download your payment receipt using the button below:'; $billingAddressFormat = '
{BILLING_ADDRESS_STREET_1}
{BILLING_ADDRESS_STREET_2}
{BILLING_CITY} {BILLING_STATE}
{BILLING_COUNTRY} {BILLING_ZIP_CODE}
{BILLING_PHONE}
'; $shippingAddressFormat = '{SHIPPING_ADDRESS_STREET_1}
{SHIPPING_ADDRESS_STREET_2}
{SHIPPING_CITY} {SHIPPING_STATE}
{SHIPPING_COUNTRY} {SHIPPING_ZIP_CODE}
{SHIPPING_PHONE}
'; $companyAddressFormat = '{COMPANY_ADDRESS_STREET_1}
{COMPANY_ADDRESS_STREET_2}
{COMPANY_CITY} {COMPANY_STATE}
{COMPANY_COUNTRY} {COMPANY_ZIP_CODE}
{COMPANY_PHONE}
'; diff --git a/database/seeders/DefaultSettingsSeeder.php b/database/seeders/DefaultSettingsSeeder.php index d3de8338..c3f6063f 100644 --- a/database/seeders/DefaultSettingsSeeder.php +++ b/database/seeders/DefaultSettingsSeeder.php @@ -18,9 +18,9 @@ class DefaultSettingsSeeder extends Seeder { $user = User::where('role', 'super admin')->first(); - $defaultInvoiceEmailBody = 'You have received a new invoice from {COMPANY_NAME}.Please download using the button below:'; - $defaultEstimateEmailBody = 'You have received a new estimate from {COMPANY_NAME}.Please download using the button below:'; - $defaultPaymentEmailBody = 'Thank you for the payment.Please download your payment receipt using the button below:'; + $defaultInvoiceEmailBody = 'You have received a new invoice from {COMPANY_NAME}. Please download using the button below:'; + $defaultEstimateEmailBody = 'You have received a new estimate from {COMPANY_NAME}. Please download using the button below:'; + $defaultPaymentEmailBody = 'Thank you for the payment. Please download your payment receipt using the button below:'; $billingAddressFormat = '{BILLING_ADDRESS_STREET_1}
{BILLING_ADDRESS_STREET_2}
{BILLING_CITY} {BILLING_STATE}
{BILLING_COUNTRY} {BILLING_ZIP_CODE}
{BILLING_PHONE}
'; $shippingAddressFormat = '{SHIPPING_ADDRESS_STREET_1}
{SHIPPING_ADDRESS_STREET_2}
{SHIPPING_CITY} {SHIPPING_STATE}
{SHIPPING_COUNTRY} {SHIPPING_ZIP_CODE}
{SHIPPING_PHONE}
'; $companyAddressFormat = '{COMPANY_ADDRESS_STREET_1}
{COMPANY_ADDRESS_STREET_2}
{COMPANY_CITY} {COMPANY_STATE}
{COMPANY_COUNTRY} {COMPANY_ZIP_CODE}
{COMPANY_PHONE}
';