From e586adde268a6279170b0b5e61cea9f181f4d363 Mon Sep 17 00:00:00 2001 From: Mohit Panjwani Date: Mon, 12 Apr 2021 16:43:07 +0530 Subject: [PATCH] update default email description --- ...2020_12_02_090527_update_crater_version_400.php | 14 +++++++------- database/seeders/DefaultSettingsSeeder.php | 6 +++--- 2 files changed, 10 insertions(+), 10 deletions(-) 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_NAME}

{BILLING_ADDRESS_STREET_1}

{BILLING_ADDRESS_STREET_2}

{BILLING_CITY} {BILLING_STATE}

{BILLING_COUNTRY} {BILLING_ZIP_CODE}

{BILLING_PHONE}

'; $shippingAddressFormat = '

{SHIPPING_ADDRESS_NAME}

{SHIPPING_ADDRESS_STREET_1}

{SHIPPING_ADDRESS_STREET_2}

{SHIPPING_CITY} {SHIPPING_STATE}

{SHIPPING_COUNTRY} {SHIPPING_ZIP_CODE}

{SHIPPING_PHONE}

'; $companyAddressFormat = '

{COMPANY_NAME}

{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_NAME}

{BILLING_ADDRESS_STREET_1}

{BILLING_ADDRESS_STREET_2}

{BILLING_CITY} {BILLING_STATE}

{BILLING_COUNTRY} {BILLING_ZIP_CODE}

{BILLING_PHONE}

'; $shippingAddressFormat = '

{SHIPPING_ADDRESS_NAME}

{SHIPPING_ADDRESS_STREET_1}

{SHIPPING_ADDRESS_STREET_2}

{SHIPPING_CITY} {SHIPPING_STATE}

{SHIPPING_COUNTRY} {SHIPPING_ZIP_CODE}

{SHIPPING_PHONE}

'; $companyAddressFormat = '

{COMPANY_NAME}

{COMPANY_ADDRESS_STREET_1}

{COMPANY_ADDRESS_STREET_2}

{COMPANY_CITY} {COMPANY_STATE}

{COMPANY_COUNTRY} {COMPANY_ZIP_CODE}

{COMPANY_PHONE}

';