send sms fix when product reviewed

This commit is contained in:
saparatayev 2022-02-07 14:26:14 +05:00
parent 4e9afb3de8
commit fc1d0c2428
3 changed files with 3 additions and 4 deletions

View File

@ -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);

View File

@ -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));
}

View File

@ -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>