core/api/modules/order/index.html

63 lines
2.9 KiB
HTML
Raw Permalink Normal View History

2023-03-11 21:03:29 +05:00
{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>
2022-12-11 13:55:49 +05:00
2023-03-11 21:03:29 +05:00
<h1>Список заказов</h1>
2022-12-11 13:55:49 +05:00
2023-03-11 21:03:29 +05:00
<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">
2023-07-12 20:02:20 +05:00
<tr><td></td><td>Заказчик</td><td>Состав</td><td>Комментарий</td><td>Действие</td></tr>
{section name=customer loop=$new_orders}
2023-03-11 21:03:29 +05:00
{if $new_orders[customer].id}
<tr id="trNewOrders-{$new_orders[customer].id}"><td>
2023-07-12 20:02:20 +05:00
<a href="">#{$new_orders[customer].id}</a><br>
2023-03-11 21:03:29 +05:00
{$new_orders[customer].t|t}
2023-07-12 20:02:20 +05:00
</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>
2023-03-11 21:03:29 +05:00
<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">
2022-12-11 13:55:49 +05:00
</div>
2023-03-11 21:03:29 +05:00
2022-12-11 13:55:49 +05:00
</div>
</div>
2023-03-11 21:03:29 +05:00
</div>
<!-- Футер -->
{include file=$footer_admin}