new feature on sms and some bugs fixed
This commit is contained in:
@@ -73,7 +73,9 @@ class ReportController extends Controller
|
||||
if ($PriceTrigger->action == 'email') {
|
||||
Mail::to("$customer->email")->send(new YourMailableClass($message, '', '', '', ''));
|
||||
} elseif ($PriceTrigger->action == 'sms') {
|
||||
$this->send($customer->mobile, $message);
|
||||
if (self::isSmsNotifEnabled('sms_notif_price_trigger')) {
|
||||
$this->send($customer->mobile, $message);
|
||||
}
|
||||
}
|
||||
$PriceTrigger->is_active = false;
|
||||
$PriceTrigger->triggered_at = Carbon::now();
|
||||
|
||||
Reference in New Issue
Block a user