Files
admin-php-module/web/views/orders/orders.html
miroman-afk dcd0e72d1f v.2.22
Редактор карты зала
Электронные заказы
Отчет по удалениям
2022-09-22 16:34:02 +03:00

99 lines
4.8 KiB
HTML

<div id="container-floating">
<div class="nd3 nds" data-toggle="tooltip" data-placement="left" title="Добавить" ng-click="create()" ng-if="!readonlyMode" style="background-color: #3c80f6" onmouseenter="$(this).tooltip('show')">
<i class="material-icons">&#xE145;</i>
</div>
<div class="nd1 nds" data-toggle="tooltip" data-placement="left" title="Обновить" ng-click="update()" style="background-color: #d3a411" onmouseenter="$(this).tooltip('show')">
<i class="material-icons">&#xE5D5;</i>
</div>
<div id="floating-button" data-toggle="tooltip" data-placement="left" title="Действия" onmouseenter="$(this).tooltip('show')">
<p class="plus"><i class="material-icons">&#xE5D2;</i></p>
<p class="edit"><i class="material-icons">&#xE5CD;</i></p>
</div>
</div>
<div class="padding">
<div class="box">
<div class="table-responsive">
<table class="table table-bordered m-a-0 table-hover">
<thead>
<tr>
<th style="width: 10px; text-align: center">#</th>
<th style="width: 120px; text-align: center">Имя</th>
<th style="width: 120px; text-align: center">Телефон</th>
<th style="width: 120px; text-align: center">Адрес</th>
<th style="width: 40px; text-align: center">Товаров</th>
<th style="width: 40px; text-align: center">Сумма</th>
<th style="width: 60px; text-align: center">Статус заказа</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="order in orders" ng-click="getOrder(order.id, true)">
<td style="text-align: center">{{ order.id }}</td>
<td style="text-align: center">{{ order.client_name }}</td>
<td style="text-align: center">{{ order.client_phone }}</td>
<td style="text-align: center">{{ order.client_address }}</td>
<td style="text-align: center">{{ order.total_count }}</td>
<td style="text-align: center">{{ order.total_price }} <span ng-if="order.total_price > 0">BYN</span></td>
<td style="text-align: center">{{ order.is_send }}</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="modal fade" id="new-order" data-backdrop="true" ng-if="!readonlyMode">
<div ui-include="'../views/orders/edit.html'"></div>
</div>
<div class="modal fade" id="create-client" data-backdrop="true" style="z-index: 1052">
<div ui-include="'../views/orders/createnewclient.html'"></div>
</div>
<div id="edit-order-confirm-delete" class="modal confirm-box" data-backdrop="true" style="z-index: 1052">
<div class="bottom white b-b" style="height: 90px">
<div class="confirm-box-body p-lg">
<p>Вы действительно хотите удалить заказ?</p>
</div>
<div class="confirm-box-footer">
<button type="button" class="btn dark-white p-x-md" data-dismiss="modal">Нет</button>
<button type="button" class="btn danger p-x-md" ng-click="delete(orderId)">Да</button>
</div>
</div>
</div>
<div id="edit-item-confirm-delete" class="modal confirm-box" data-backdrop="true" style="z-index: 1052">
<div class="bottom white b-b" style="height: 90px">
<div class="confirm-box-body p-lg">
<p>Вы действительно хотите удалить позицию?</p>
</div>
<div class="confirm-box-footer">
<button type="button" class="btn dark-white p-x-md" data-dismiss="modal">Нет</button>
<button type="button" class="btn danger p-x-md" ng-model="itemDelete" ng-click="deleteItemConfirm(itemDelete)">Да</button>
</div>
</div>
</div>
<div id="edit-client-not-found" class="modal confirm-box" data-backdrop="true" style="z-index: 1052">
<div class="bottom white b-b" style="height: 90px">
<div class="confirm-box-body p-lg">
<p>Клиент не найден. Создать?</p>
</div>
<div class="confirm-box-footer">
<button type="button" class="btn dark-white p-x-md" data-dismiss="modal">Нет</button>
<button type="button" class="btn danger p-x-md" ng-model="order_id" ng-click="createClient(order_id)">Да</button>
</div>
</div>
</div>
<div class="modal fade" id="edit-selectmenuitem" data-backdrop="true" style="z-index: 1052">
<div ui-include="'../views/orders/selectmenuitem.html'"></div>
</div>
<div class="modal fade" id="edit-item-count" data-backdrop="true" style="z-index: 1052">
<div ui-include="'../views/orders/selectitemcount.html'"></div>
</div>