Blame view

common/widgets/views/order.php 6.33 KB
4253cbec   root   first commit
1
2
3
4
5
  
  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  <html lang="uk">
  <head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
a95ce595   Administrator   big commti
6
      <title>linija-svitla.ua</title>
4253cbec   root   first commit
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
      <style type="text/css">
          body {
              font-family: helvetica neue, arial, sans-serif;
              line-height: 1.5;
              padding: 0;
              margin: 0;
          }
      </style>
  </head>
  <body style="margin: 0;">
  <div class="container" style="
          margin: 0 auto;
          font-family: helvetica neue, arial, sans-serif;
          font-size: 16px;
          line-height: 1.5;
          width: 100%;
          max-width:  740px;
          min-width: 360px;
          ">
      <div style="text-align: center">
          <br>
          <h1 style="margin: -5px 40px 10px; line-height: 1.2;">Добрый день, <?php echo $params['order']->name ?>!</h1>
          <h2 style="font-weight: 300; margin: 10px 40px 40px; line-height: 1.2;">Ваш заказ получен. В ближайшее время с Вами свяжется менеджер для уточнения деталей</h2>
      </div>
      <table cellpadding="0" cellspacing="0" border="0" valign="top" style="
          background: #eee; border-radius: 4px;
          width: 100%;
          ">
          <tr>
              <td style="text-align: left; vertical-align: top; font-size: 85%; padding: 20px 15px 15px 20px; border-right: 1px solid #ddd;">
               <strong>Заказ №<?php echo $params['order']->id ?></strong>
                  <br>
74a103b3   Alex Savenko   order sender fix
39
                  На сумму <?php $sum = 0; foreach ( $params['variants'] as $item) { $sum += $item['sum_cost']; } echo number_format($sum, 0, '.', ' ') ?> грн
4253cbec   root   first commit
40
41
42
43
44
45
46
47
48
49
50
              </td>
              <td style="text-align: left; vertical-align: top; font-size: 85%; padding: 20px 15px 15px 20px;">
                  <strong>Данные покупателя</strong>
                  <br>
                  <?php echo $params['order']->name ?>
                  <br>
                  <nobr><?php echo $params['order']->phone ?></nobr>
                  <br>
                  <?php echo $params['order']->email ?>
              </td>
              <td style="text-align: left; vertical-align: top; font-size: 85%; padding: 20px 15px 15px;">
1fc1955e   Administrator   big commti
51
                  <strong></strong>
4253cbec   root   first commit
52
53
54
55
56
57
58
                  <br>
                  <?php echo $params['order']->city ?>
                  <br>
                  <?php echo $params['order']->adress ?>
  
              </td>
              <td style="text-align: left; vertical-align: top; font-size: 85%; padding: 20px 20px 15px 15px;">
df819475   Alex Savenko   mail
59
                  <strong>Спасибо за Ваш заказ!</strong>
4253cbec   root   first commit
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
              </td>
          </tr>
          <tr>
              <td colspan="4" style="background: #fff;">
                  <table cellpadding="0" cellspacing="0" border="0" valign="top" style="
                width: 100%;">
                      <thead style="font-size: 70%;">
                        <tr>
                          <th style="border-bottom: 2px solid #eee; padding: 10px 10px 5px 0;">&nbsp;</th>
                          <th style="border-bottom: 2px solid #eee; text-align: left; padding: 10px 10px 5px;">Название</th>
                          <th style="border-bottom: 2px solid #eee; text-align: right; padding: 10px 10px 5px;">Количество</th>
                          <th style="border-bottom: 2px solid #eee; text-align: right; padding: 10px 30px 5px 10px;">Цена</th>
                        </tr>
                      </thead>
                      <tbody>
74a103b3   Alex Savenko   order sender fix
75
                     <?php foreach ( $params['variants'] as $thisItem) { ?>
4253cbec   root   first commit
76
77
                      <tr>
                          <td style="padding: 0; vertical-align: top; line-height: 0; text-align: left; border-bottom: 1px solid #ddd; border-left: 1px solid #eee;">
1fc1955e   Administrator   big commti
78
                              <img src="http://www.linija-svitla.ua<?= $thisItem['img'] ?>" width="150">
4253cbec   root   first commit
79
80
81
82
83
84
85
86
                          </td>
                          <td style="padding: 65px 10px 20px; vertical-align: top; text-align: left; border-bottom: 1px solid #ddd; font-size: 18px;">
                              <?php echo $thisItem['product_name'] ?>
                          </td>
                          <td style="padding: 65px 10px 20px; vertical-align: top; text-align: right; border-bottom: 1px solid #ddd; font-size: 18px;">
                              <small style="margin-right: 1px;">×</small><?php echo $thisItem['count'] ?>
                          </td>
                          <td style="padding: 65px 30px 20px 10px; vertical-align: top; text-align: right; border-bottom: 1px solid #ddd; border-right: 1px solid #eee; font-size: 18px;">
74a103b3   Alex Savenko   order sender fix
87
                              <?php echo number_format($thisItem['sum_cost'], 0, '.', ' ') ?> грн
4253cbec   root   first commit
88
89
90
91
92
93
94
95
96
97
                          </td>
                      </tr>
                     <?php } ?>
                      </tbody>
                      <tfoot>
                      <tr>
                          <td colspan="3" style="background: #eee; vertical-align: top; border-radius: 0 0 0 4px; padding: 13px 10px 20px; border-top: 1px solid #ddd; text-align: right; font-size: 14px;">
                              <strong>Всего к оплате:</strong>
                          </td>
                          <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;">
74a103b3   Alex Savenko   order sender fix
98
                              <strong><?php echo number_format($sum, 0, '.', ' ') ?> грн</strong>
4253cbec   root   first commit
99
100
101
102
103
104
105
106
                          </td>
                      </tr>
                      <tfoot>
                  </table>
              </td>
          </tr>
      </table>
      <div style="padding: 40px;">
c8ee17e4   Administrator   big commti
107
          <center><img src="http://www.linija-svitla.ua/images/new_img/new_logo.png"></center>
4253cbec   root   first commit
108
109
110
111
112
  
          <table cellpadding="0" cellspacing="0" border="0" valign="top" style="
                width: 100%; margin: 20px 0;">
              <tr>
                  <td style="border-top: 1px solid #eee; text-align: right; font-size: 100%; padding: 30px 20px 0 0;">
74a103b3   Alex Savenko   order sender fix
113
114
                      (044) 339-92-33<br>
                      (095) 282-85-08<br>
df819475   Alex Savenko   mail
115
                      (068) 776-60-67
4253cbec   root   first commit
116
117
                  </td>
                  <td style="border-top: 1px solid #eee; text-align: left; font-size: 100%; padding: 30px 0 0 20px;">
df819475   Alex Savenko   mail
118
                      <a href="http://www.linija-svitla.ua">www.linija-svitla.ua</a>
4253cbec   root   first commit
119
120
121
122
123
124
125
126
                  </td>
              </tr>
          </table>
  
      </div>
  </div>
  </body>
  </html>