Update RestoreShift frontend
This commit is contained in:
miroman-afk
2022-01-13 15:43:04 +03:00
parent f964aca7a9
commit 61d8b4e1d2
18 changed files with 1973 additions and 126 deletions

View File

@@ -0,0 +1,36 @@
<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">История заказа</h5>
<span class="text-muted">{{order.opened}} - {{order.closed}}</span>
</div>
<div class="modal-body p-lg">
<div class="table-responsive">
<table class="table table-bordered">
<thead>
<tr>
<th>Блюдо</th>
<th>Количество</th>
<th class="text-right">Сумма, 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.amount}}</td>
</tr>
</tbody>
<thead>
<tr>
<th colspan="2"></th>
<th class="text-right">Итого: {{ order.amount | curr }} BYN</th>
</tr>
</thead>
</table>
</div>
</div>
</div>
</div>