Commit adb1789d585c648e863e6da177a370b16555d496

Authored by Dmytry Fedorchuk
1 parent b044ffe3

Mail Order save template and send dev

common/widgets/views/order.php
... ... @@ -25,8 +25,8 @@
25 25 ">
26 26 <div style="text-align: center">
27 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 30 </div>
31 31 <table cellpadding="0" cellspacing="0" border="0" valign="top" style="
32 32 background: #eee; border-radius: 4px;
... ... @@ -34,9 +34,9 @@
34 34 ">
35 35 <tr>
36 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 38 <br>
39   - <?php=$this->created_at->format("d.m.Y"); ?>
  39 + <?php $this->created_at->format("d.m.Y"); ?>
40 40 <br>
41 41 На сумму <strong><?php=$this->total ?></strong> грн
42 42 </td>
... ... @@ -99,7 +99,7 @@
99 99 <strong>Всего к оплате:</strong>
100 100 </td>
101 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 103 </td>
104 104 </tr>
105 105 <tfoot>
... ...
frontend/controllers/BasketController.php
... ... @@ -72,7 +72,6 @@ class BasketController extends Controller
72 72 'subject'=> 'Спасибо за покупку',
73 73 'email' => $modelOrder->email,
74 74 'params' => [
75   - 'name' => $modelOrder->name,
76 75 'order' => $order,
77 76 'variants' => $productV,
78 77 ]
... ...