86 lines
3.7 KiB
HTML
86 lines
3.7 KiB
HTML
|
{include file=$header title="Мои заказы" h1="Мои заказы"}
|
|||
|
{* Хлебные крошки *}
|
|||
|
<div class="clearfix">
|
|||
|
</div>
|
|||
|
<nav aria-label="breadcrumb">
|
|||
|
<ol class="breadcrumb">
|
|||
|
<li class="breadcrumb-item"><a href="/">Главная</a></li>
|
|||
|
<li class="breadcrumb-item"><a href="/lk/">Личный кабинет</a></li>
|
|||
|
<li class="breadcrumb-item active" aria-current="page">Мои заказы</li>
|
|||
|
</ol>
|
|||
|
</nav>
|
|||
|
<div class="clearfix">
|
|||
|
</div>
|
|||
|
<input type="hidden" id="zakaz_id">
|
|||
|
<section class="container">
|
|||
|
<div class="row">
|
|||
|
{include file=$lk_left}
|
|||
|
<article class="col-xs col-sm col-md col-lg col-xl">
|
|||
|
<h2>Мои заказы</h2>
|
|||
|
<h3>Новые:</h3>
|
|||
|
<table class="table">
|
|||
|
<tr><td>№</td><td>Товар</td><td>Сумма</td><td></td></tr>
|
|||
|
{section name=customer loop=$new_orders}{if $new_orders[customer].id}
|
|||
|
<tr id="{$new_orders[customer].id}"><td><b>Номер: {$new_orders[customer].id}</b><br>
|
|||
|
{$new_orders[customer].t|date_format:"%H:%M %d.%m.%Y"}</td>
|
|||
|
<td><a href="{$new_orders[customer].id}" class="show_zakaz">Показать список товара</a><br>
|
|||
|
<b><a href="{$new_orders[customer].id}" class="show_qr">Оплатить онлайн!</a></b>
|
|||
|
</td><td>{$new_orders[customer].itog}</td>
|
|||
|
<td><a href="{$new_orders[customer].id}" class="del_zakaz">Удалить</a></td></tr>
|
|||
|
{/if}{/section}
|
|||
|
</table>
|
|||
|
{*
|
|||
|
<div class="container">
|
|||
|
</div>
|
|||
|
<h3>
|
|||
|
Обрабатываются
|
|||
|
</h3>
|
|||
|
<div class="container">
|
|||
|
</div>
|
|||
|
<h3>
|
|||
|
Завершенные
|
|||
|
</h3>
|
|||
|
<div class="container">
|
|||
|
</div>*}
|
|||
|
</article>
|
|||
|
</div>
|
|||
|
</section>
|
|||
|
<!-- Modal -->
|
|||
|
<div class="modal fade" id="show_zakaz" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
|
|||
|
<div class="modal-dialog modal-lg" role="document">
|
|||
|
<div class="modal-content">
|
|||
|
<div class="modal-header">
|
|||
|
<h5 class="modal-title" id="exampleModalLabel">Детали заказа</h5>
|
|||
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
|||
|
<span aria-hidden="true">×</span>
|
|||
|
</button>
|
|||
|
</div>
|
|||
|
<div class="modal-body" id="modal_txt">
|
|||
|
</div>
|
|||
|
<div class="modal-footer">
|
|||
|
<button type="button" class="btn btn-secondary" data-dismiss="modal">Закрыть</button>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<!-- Modal QR -->
|
|||
|
<div class="modal fade" id="show_qr" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
|
|||
|
<div class="modal-dialog" role="document">
|
|||
|
<div class="modal-content">
|
|||
|
<div class="modal-header">
|
|||
|
<h5 class="modal-title" id="exampleModalLabel">Оплатить через клиент-банк</h5>
|
|||
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
|||
|
<span aria-hidden="true">×</span>
|
|||
|
</button>
|
|||
|
</div>
|
|||
|
<div class="modal-body" id="modal_qr" style="text-align:center;">
|
|||
|
</div>
|
|||
|
<div class="modal-footer">Вы можете оплатить заказ в режиме онлайн через любой мобильный банк.<br>
|
|||
|
<small>Внимание, банк может брать процент за перевод денег со счета на счет.</small>
|
|||
|
<button type="button" class="btn btn-secondary" data-dismiss="modal">Закрыть</button>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
{include file=$footer}
|