core/api/modules/order/index.html

63 lines
2.9 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{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></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>
{include file="api/modules/order/info.html" tip=$new_orders[customer].tip kl=$new_orders[customer].kl org=$new_orders[customer].org org_id=$new_orders[customer].org_id zakaz_id=$new_orders[customer].id}
</td>
<td>
{include file="api/modules/order/tovar.html" tovarList=$new_orders[customer].list}
</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}