Fixed reports
This commit is contained in:
miroman-afk
2023-05-02 15:21:54 +03:00
parent 70120653f7
commit fb46c8e739
78 changed files with 21233 additions and 1892 deletions

View File

@@ -0,0 +1,41 @@
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-toggle="modal" data-target="#items-deleted" ng-click="returnModal('deleted')">
<i class="material-icons md-24">arrow_back</i>
</button>
<h5 class="modal-title">Подробнее об удалениях в заказе № {{ order.code }}</h5>
</div>
<div class="modal-body p-lg">
<div class="table-responsive">
<table class="table m-a-0">
<thead>
<tr>
<th>Удаленное блюдо</th>
<th>Количество удалений</th>
<th>Сумма удалений, BYN</th>
<th>Удалил</th>
<th>Причина удаления</th>
<th>Время удаления</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="item in order.items">
<td>{{ item.dish }}</td>
<td>{{ item.count }}</td>
<td class="text-right">{{ item.sale_price | curr }}</td>
<td>{{ item.who_deleted }}</td>
<td>{{ item.reason }}</td>
<td>{{ item.time }}</td>
</tr>
</tbody>
<thead>
<tr>
<th colspan="6" class="text-right">Всего {{ order.all_count }} удалений на сумму {{ order.all_sum | curr }} BYN</th>
</tr>
</thead>
</table>
</div>
</div>
</div>
</div>