Resolve "Message changes for warranty expiration" #1656

Open
korina.cordero wants to merge 1 commit from 731-message-changes-for-warranty-expiration into master
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));
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);
$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'
# 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.battery_brand_allcaps: 'MOTOLITE'
message.confirmation_code: 'Your Resq confirmation code is'