Commit 8c5df6e2f399b115d610190b2c42f35e3848be30
1 parent
c02327c3
Изменил regex паттерн на телефонах + добавил катю в скрытые получатели
Showing
3 changed files
with
5 additions
and
4 deletions
Show diff stats
backend/controllers/ExportController.php
@@ -37,8 +37,6 @@ class ExportController extends Controller{ | @@ -37,8 +37,6 @@ class ExportController extends Controller{ | ||
37 | 37 | ||
38 | public function actionIndex(){ | 38 | public function actionIndex(){ |
39 | 39 | ||
40 | -// $model=new DynamicModel(['timeFrom','timeTo']); | ||
41 | -// $model->addRule(['timeFrom','timeTo'],'string'); | ||
42 | 40 | ||
43 | $model=new DateModel(); | 41 | $model=new DateModel(); |
44 | return $this->render('index',[ | 42 | return $this->render('index',[ |
common/models/Customer.php
frontend/controllers/SiteController.php
@@ -242,10 +242,13 @@ | @@ -242,10 +242,13 @@ | ||
242 | ->setTo( | 242 | ->setTo( |
243 | [ | 243 | [ |
244 | // 'kennen.md@gmail.com', | 244 | // 'kennen.md@gmail.com', |
245 | - 'kazimirova.artweb@gmail.com', | 245 | + |
246 | 'energyforum@euromediacompany.com', | 246 | 'energyforum@euromediacompany.com', |
247 | ] | 247 | ] |
248 | ) | 248 | ) |
249 | + ->setBcc( | ||
250 | + 'kazimirova.artweb@gmail.com' | ||
251 | + ) | ||
249 | ->setSubject($subject) | 252 | ->setSubject($subject) |
250 | ->attach(\Yii::getAlias('@' . trim($model->image, '/'))) | 253 | ->attach(\Yii::getAlias('@' . trim($model->image, '/'))) |
251 | ->send(); | 254 | ->send(); |