80 lines
2.9 KiB
HTML
80 lines
2.9 KiB
HTML
{include file=$header_admin h1="Список заказов" title="Список заказов"}
|
||
<nav aria-label="breadcrumb">
|
||
<ol class="breadcrumb">
|
||
<li class="breadcrumb-item"><a href="/admin/">Главная</a></li>
|
||
|
||
<li class="breadcrumb-item active" aria-current="page">Список заказов</li>
|
||
</ol>
|
||
</nav>
|
||
|
||
<h1>Список заказов</h1>
|
||
|
||
|
||
|
||
<div class="ibox">
|
||
<div class="ibox-head">
|
||
<div class="ibox-title">Список</div>
|
||
<ul class="nav nav-tabs tabs-line pull-right">
|
||
<li class="nav-item">
|
||
<a class="nav-link active" href="#tab-8-1" data-toggle="tab"><i class="fa-sharp fa-solid fa-list"></i> Новые</a>
|
||
</li>
|
||
<li class="nav-item">
|
||
<a class="nav-link" href="#tab-8-2" data-toggle="tab"><i class="fa-sharp fa-solid fa-image"></i> В работе</a>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
<div class="ibox-body">
|
||
<div class="tab-content">
|
||
<div class="tab-pane fade show active" id="tab-8-1">
|
||
<table class="table">
|
||
|
||
<tr><td>№</td><td>Ф.И.О.</td><td>Организация</td><td>Телефон</td><td>Комментарий</td><td>Действие</td></tr>
|
||
|
||
{section name=customer loop=$new_orders}
|
||
|
||
|
||
|
||
|
||
{if $new_orders[customer].id}
|
||
|
||
|
||
<tr id="trNewOrders-{$new_orders[customer].id}"><td>
|
||
|
||
|
||
|
||
<a href="">{$new_orders[customer].id}</a><br>
|
||
{$new_orders[customer].t|t}
|
||
|
||
</td><td><a href="/user/{$new_orders[customer].user_id}">{$new_orders[customer].fio}</a></td><td>{$new_orders[customer].org_name}</td><td>{$new_orders[customer].tel}</td>
|
||
|
||
<td><textarea class="form-control q-comment" style="height: 200px;" data-id="{$new_orders[customer].id}">{$new_orders[customer].comment}</textarea></td>
|
||
|
||
<td>
|
||
|
||
<button type="button" class="btn btn-success set-status" data-id="{$new_orders[customer].id}" data-value="1">В работу</button>
|
||
<button type="button" class="btn btn-success set-status" data-id="{$new_orders[customer].id}" data-value="4">Отмена</button>
|
||
|
||
|
||
|
||
|
||
</td></tr>
|
||
|
||
|
||
|
||
{/if} {/section}
|
||
</table>
|
||
</div>
|
||
<div class="tab-pane" id="tab-8-2">
|
||
|
||
|
||
|
||
</div>
|
||
|
||
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
|
||
<!-- Футер -->
|
||
{include file=$footer_admin} |