Commit df81947529cad792e25c1c0d32c2749a69d7e7f1
1 parent
2ed4c5e3
Showing
3 changed files
with
8 additions
and
5 deletions
Show diff stats
common/widgets/Mailer.php
... | ... | @@ -39,6 +39,7 @@ class Mailer extends Widget{ |
39 | 39 | $mail->AddAddress('bzika@ukr.net'); |
40 | 40 | $mail->AddAddress('dockdep@gmail.com'); |
41 | 41 | $mail->AddAddress($this->email); |
42 | + $mail->send(); | |
42 | 43 | /* */ |
43 | 44 | // if(!$mail->send()) { |
44 | 45 | // \Yii::$app->getSession()->setFlash('error', 'Mailer Error: ' . $mail->ErrorInfo); | ... | ... |
common/widgets/views/order.php
... | ... | @@ -37,7 +37,7 @@ |
37 | 37 | <strong>Заказ №<?php echo $params['order']->id ?></strong> |
38 | 38 | <br> |
39 | 39 | <br> |
40 | - На сумму <strong><?php echo $params['order']->total ?></strong> грн | |
40 | + На сумму <strong><?php echo number_format($sum, 0, '.', ' ') ?></strong> грн | |
41 | 41 | </td> |
42 | 42 | <td style="text-align: left; vertical-align: top; font-size: 85%; padding: 20px 15px 15px 20px;"> |
43 | 43 | <strong>Данные покупателя</strong> |
... | ... | @@ -57,7 +57,7 @@ |
57 | 57 | |
58 | 58 | </td> |
59 | 59 | <td style="text-align: left; vertical-align: top; font-size: 85%; padding: 20px 20px 15px 15px;"> |
60 | - <strong>Спасибо за покупку!</strong> | |
60 | + <strong>Спасибо за Ваш заказ!</strong> | |
61 | 61 | <br> |
62 | 62 | <a href="http://www.rukzachok.com.ua" |
63 | 63 | </td> |
... | ... | @@ -113,10 +113,12 @@ |
113 | 113 | width: 100%; margin: 20px 0;"> |
114 | 114 | <tr> |
115 | 115 | <td style="border-top: 1px solid #eee; text-align: right; font-size: 100%; padding: 30px 20px 0 0;"> |
116 | - +38 (067) 395 65 73 | |
116 | + (044) 339-92-33 | |
117 | + (095) 282-85-08 | |
118 | + (068) 776-60-67 | |
117 | 119 | </td> |
118 | 120 | <td style="border-top: 1px solid #eee; text-align: left; font-size: 100%; padding: 30px 0 0 20px;"> |
119 | - <a href="http://rukzachok.com.ua">rukzachok.com.ua</a> | |
121 | + <a href="http://www.linija-svitla.ua">www.linija-svitla.ua</a> | |
120 | 122 | </td> |
121 | 123 | </tr> |
122 | 124 | </table> | ... | ... |
frontend/controllers/OrderController.php