Files
admin-php-module/web/views/dashboard/items/more-guests.html
miroman-afk fb46c8e739 v.2.27
Fixed reports
2023-05-02 15:21:54 +03:00

36 lines
1.8 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.
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">&times;</button>
<h5 class="modal-title">{{ moreData.title }}</h5>
</div>
<div class="modal-body p-lg">
<div class="table-responsive" ng-if="moreData.clients.length > 0">
<div ng-repeat="client in moreData.clients">
<table class="table m-a-0 table-hover">
<thead class="thead-inverses">
<tr>
<th class="text-right" style="text-align: left; width: 20%;" colspan="4">{{ client.name }}</th>
</tr>
</thead>
<tbody ng-repeat="order in client.orders">
<tr ng-click="getItems('guests', order)">
<td class="text-right" style="width: 20%;">Заказ № {{ order.number }}</td>
<td class="text-right" style="width: 30%;">Открыт {{ order.opened }}</td>
<td ng-if="order.closed" class="text-right" style="width: 30%;">Закрыт {{ order.closed }}</td>
<td ng-if="!order.closed" class="text-right" style="width: 30%;">Не закрыт</td>
<td class="text-right" style="width: 20%;">{{ order.sum | curr }} BYN</td>
</tr>
</tbody>
</table>
</div>
</div>
<div ng-if="moreData.clients.length == 0">
<div class="text-muted">Заказов от именованных гостей нет</div>
</div>
</div>
</div>
</div>