Modify sms message for expired warranties. #731

This commit is contained in:
Korina Cordero 2023-02-01 06:13:10 +00:00
parent 935dc15101
commit 8783ec5560
2 changed files with 4 additions and 1 deletions

View file

@ -101,7 +101,9 @@ class WarrantySMSCommand extends Command
error_log(print_r($valid_numbers, true)); error_log(print_r($valid_numbers, true));
foreach ($valid_numbers as $wdata) foreach ($valid_numbers as $wdata)
{ {
$msg = 'Hi ' . $wdata['name'] . ', the warranty for the ' . $wdata['batt'] . ' installed in your car(' . $wdata['plate'] . $this->translator->trans('message.partial_warrantysms'); $msg = $this->translator->trans('message.warrantysms');
// $msg = 'Hi ' . $wdata['name'] . ', the warranty for the ' . $wdata['batt'] . ' installed in your car(' . $wdata['plate'] . $this->translator->trans('message.partial_warrantysms');
error_log($wdata['number'] . ' - sending ' . $msg); error_log($wdata['number'] . ' - sending ' . $msg);
$this->gateway->sendSMS($wdata['number'], $this->translator->trans('message.battery_brand_allcaps'), $msg); $this->gateway->sendSMS($wdata['number'], $this->translator->trans('message.battery_brand_allcaps'), $msg);

View file

@ -74,6 +74,7 @@ label.pdf.final_amount: 'FINAL AMOUNT:'
label.jo.vehicle_battery: 'This vehicle is using a Motolite battery' label.jo.vehicle_battery: 'This vehicle is using a Motolite battery'
# messages # messages
message.warrantysms: "Dear Motolite Customer, your battery's warranty has lapsed. If you'd like to check on your battery's health, please call official Motolite Express Hatid hotlines.\n\nShould you need to replace your battery, through our participating outlets or Motolite Express Hatid, and get a chance to win in Motolite's E-Warranty Raffle prizes, including our Grand Prize: a 2023 Toyota Fortuner.\n\nSee https://www.motolite.com/pages/raffle for details."
message.partial_warrantysms: ') has expired already. Please call MOTOLITE EXPRESS HATID at 8370-6686 to have the status of your battery checked to avoid any inconvenience. Thank you for choosing Motolite.' message.partial_warrantysms: ') has expired already. Please call MOTOLITE EXPRESS HATID at 8370-6686 to have the status of your battery checked to avoid any inconvenience. Thank you for choosing Motolite.'
message.battery_brand_allcaps: 'MOTOLITE' message.battery_brand_allcaps: 'MOTOLITE'
message.confirmation_code: 'Your Resq confirmation code is' message.confirmation_code: 'Your Resq confirmation code is'