Commit adb1789d585c648e863e6da177a370b16555d496
1 parent
b044ffe3
Mail Order save template and send dev
Showing
2 changed files
with
5 additions
and
6 deletions
Show diff stats
common/widgets/views/order.php
| @@ -25,8 +25,8 @@ | @@ -25,8 +25,8 @@ | ||
| 25 | "> | 25 | "> |
| 26 | <div style="text-align: center"> | 26 | <div style="text-align: center"> |
| 27 | <br> | 27 | <br> |
| 28 | - <h1 style="margin: -5px 40px 10px; line-height: 1.2;">Добрый день, <?php=$this->account->name ?>!</h1> | ||
| 29 | - <h2 style="font-weight: 300; margin: 10px 40px 40px; line-height: 1.2;">Ваш заказ получен. В ближайшее время с Вами свяжется наш менеджер для уточнения деталей</h2> | 28 | + <h1 style="margin: -5px 40px 10px; line-height: 1.2;">Добрый день, <?php /* $order->name ?>!</h1> |
| 29 | + <h2 style="font-weight: 300; margin: 10px 40px 40px; line-height: 1.2;">Ваш заказ получен. В ближайшее время с Вами свяжетсяменеджер для уточнения деталей</h2> | ||
| 30 | </div> | 30 | </div> |
| 31 | <table cellpadding="0" cellspacing="0" border="0" valign="top" style=" | 31 | <table cellpadding="0" cellspacing="0" border="0" valign="top" style=" |
| 32 | background: #eee; border-radius: 4px; | 32 | background: #eee; border-radius: 4px; |
| @@ -34,9 +34,9 @@ | @@ -34,9 +34,9 @@ | ||
| 34 | "> | 34 | "> |
| 35 | <tr> | 35 | <tr> |
| 36 | <td style="text-align: left; vertical-align: top; font-size: 85%; padding: 20px 15px 15px 20px; border-right: 1px solid #ddd;"> | 36 | <td style="text-align: left; vertical-align: top; font-size: 85%; padding: 20px 15px 15px 20px; border-right: 1px solid #ddd;"> |
| 37 | - <strong>Заказ №<?php=$this->id ?></strong> | 37 | + <strong>Заказ №</strong> |
| 38 | <br> | 38 | <br> |
| 39 | - <?php=$this->created_at->format("d.m.Y"); ?> | 39 | + <?php $this->created_at->format("d.m.Y"); ?> |
| 40 | <br> | 40 | <br> |
| 41 | На сумму <strong><?php=$this->total ?></strong> грн | 41 | На сумму <strong><?php=$this->total ?></strong> грн |
| 42 | </td> | 42 | </td> |
| @@ -99,7 +99,7 @@ | @@ -99,7 +99,7 @@ | ||
| 99 | <strong>Всего к оплате:</strong> | 99 | <strong>Всего к оплате:</strong> |
| 100 | </td> | 100 | </td> |
| 101 | <td style="background: #eee; vertical-align: top; border-radius: 0 0 4px 0; padding: 10px 30px 20px 10px; border-top: 1px solid #ddd; text-align: right; font-size: 18px;"> | 101 | <td style="background: #eee; vertical-align: top; border-radius: 0 0 4px 0; padding: 10px 30px 20px 10px; border-top: 1px solid #ddd; text-align: right; font-size: 18px;"> |
| 102 | - <strong><?php=number_format($this->total) ?> грн</strong> | 102 | + <strong><?php=number_format($this->total) */ ?> грн</strong> |
| 103 | </td> | 103 | </td> |
| 104 | </tr> | 104 | </tr> |
| 105 | <tfoot> | 105 | <tfoot> |
frontend/controllers/BasketController.php
| @@ -72,7 +72,6 @@ class BasketController extends Controller | @@ -72,7 +72,6 @@ class BasketController extends Controller | ||
| 72 | 'subject'=> 'Спасибо за покупку', | 72 | 'subject'=> 'Спасибо за покупку', |
| 73 | 'email' => $modelOrder->email, | 73 | 'email' => $modelOrder->email, |
| 74 | 'params' => [ | 74 | 'params' => [ |
| 75 | - 'name' => $modelOrder->name, | ||
| 76 | 'order' => $order, | 75 | 'order' => $order, |
| 77 | 'variants' => $productV, | 76 | 'variants' => $productV, |
| 78 | ] | 77 | ] |