add contraint , that everybody expect admin is limited to 3 days, Add card package
This commit is contained in:
@@ -63,10 +63,14 @@ class AccountStateMail extends Object {
|
||||
|
||||
$this->attachPdf();
|
||||
|
||||
$this->message->setFrom(\Yii::$app->params['infoEmail'])
|
||||
->setTo( \Yii::$app->params['notify_mail'] )
|
||||
->setSubject($subject )
|
||||
->send();
|
||||
try{
|
||||
$this->message->setFrom(\Yii::$app->params['infoEmail'])
|
||||
->setTo( \Yii::$app->params['notify_mail'] )
|
||||
->setSubject($subject )
|
||||
->send();
|
||||
}catch (\Exception $e){
|
||||
\Yii::error("Nem sikerült elküldeni a kassza müvelet emailt");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user