Happy New Year!
This commit is contained in:
miroman-afk
2021-12-29 13:17:03 +03:00
parent 1a7808f75b
commit 2702c4b6e9
31 changed files with 2013 additions and 3 deletions

View File

@@ -0,0 +1,47 @@
<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">{{ table_ord.title }}</h5>
</div>
<div class="modal-body p-lg">
<div class="table-responsive" ng-repeat="order in table_ord.orders">
<h5>Заказ № {{ order.number }}</h5>
<table class="table">
<thead>
<tr>
<th style="width: 35%">Блюдо</th>
<th style="width: 25%">Количество</th>
<th class="text-right" style="width: 40%">Сумма, BYN</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="item in order.items">
<td>{{ item.name }}</td>
<td>{{ item.count }}</td>
<td class="text-right">{{ item.sale_price | curr }}</td>
</tr>
</tbody>
<thead>
<tr>
<th colspan="3" class="text-right">Итого: {{ order.total | curr }} BYN</th>
</tr>
</thead>
</table>
<hr>
</div>
<div class="table-responsive">
<table class="table">
<thead>
<tr>
<th colspan="2"></th>
<th class="text-right">Общий итог: {{ table_ord.total | curr }} BYN</th>
</tr>
</thead>
</table>
</div>
</div>
</div>
</div>