send sms fix when product reviewed
This commit is contained in:
parent
4e9afb3de8
commit
fc1d0c2428
|
|
@ -49,7 +49,6 @@ class SendMailTemplateAction extends ActionBase
|
|||
throw new ApplicationException('Missing valid recipient or mail template');
|
||||
}
|
||||
|
||||
Log::info($template);
|
||||
Mail::sendTo($recipient, $template, $params, function($message) use ($replyTo) {
|
||||
if ($replyTo) {
|
||||
$message->replyTo($replyTo);
|
||||
|
|
|
|||
|
|
@ -93,7 +93,7 @@ class SendSMSAction extends ActionBase
|
|||
$to = $this->host->send_to_custom;
|
||||
}
|
||||
|
||||
SMS::send($to,$this->host->message);
|
||||
SMS::send(str_replace(array('+', ' ', '(' , ')', '-'), '', $to),$this->host->message);
|
||||
|
||||
// Log::info(json_encode($params));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,5 +2,5 @@ layout="birzha_default"
|
|||
==
|
||||
|
||||
<p>Здравствуйте. Ваше объявление успешно прошло проверку и появится на сайте в
|
||||
ближайшее время. (По желанию!) Вы можете просмотреть <a href="{{'kabinet/my_offers'|page}}">рекламное объявление</a> или
|
||||
перейти в свой <a href="{{'kabinet/profile'|page}}">профиль.</a></p>
|
||||
ближайшее время. (По желанию!) Вы можете просмотреть <a href="{{url('kabinet/my_offers')}}">рекламное объявление</a> или
|
||||
перейти в свой <a href="{{url('kabinet/profile')}}">профиль.</a></p>
|
||||
Loading…
Reference in New Issue