dce46e80
Alex Savenko
first push project
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<h2 class="content-header">
<?= $t->_(isset(explode('/', $this->router->getRewriteUri())[2])? explode('/', $this->router->getRewriteUri())[2] : 'main') ?>
</h2>
<section style="overflow: visible" class="content">
<?php if(!empty($orders)): ?>
<table border="0" cellpadding="0" cellspacing="0" id="history_zakaz">
<tr>
<td width="150"><?= $t->_('order_number') ?></td>
<td id="greytd" align="center"><?= $t->_('status') ?></td>
<td align="center" id="right_border"><?= $t->_('date') ?></td>
<td align="center"><?= $t->_('sum') ?></td>
<td id="greytd" width="40"></td>
</tr>
<?php foreach($orders as $o): ?>
<tr>
|
a1efda19
Administrator
add local config
|
16
|
<td><a href="<?= $this->seoUrl->setUrl($this->router->getRewriteUri().'/'.$o['id'].'/'.$type) ?>"><?= $t->_('orders') ?> №<?= $o['id'] ?></a></td>
|
dce46e80
Alex Savenko
first push project
|
17
18
19
20
21
|
<td id="greytd" align="center">
<li class="order_status <?= $o['status'][1] ?>"><?= $o['status'][0] ?></li>
</td>
<td align="center" id="right_border"><?= $o['created_date'] ?></td>
<td align="center" class="status_price"><span id="price_sum"><?= $o['price'] ?></span> грн.</td>
|
05c4b152
Administrator
add local config
|
22
|
<td id="greytd" align="center">
|
e9e4c9a2
Administrator
add local config
|
23
|
<iframe style="border: 0" width="20px" height="20px" src="<?= $this->seoUrl->setUrl($this->url->get([ 'for' => 'print_order' ]).$o['id'].'/'.$type) ?>"></iframe>
|
05c4b152
Administrator
add local config
|
24
|
</td>
|
dce46e80
Alex Savenko
first push project
|
25
26
27
28
29
|
</tr>
<?php endforeach; ?>
</table>
<?php endif; ?>
</section>
|