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,40 @@
<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.orders.length > 0">
<table class="table table-hover">
<thead>
<tr>
<th>Заказ №</th>
<th>Открыт</th>
<th>Закрыт</th>
<th class="text-right">Итого, BYN</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="order in moreData.orders" ng-click="getItems('total', order)">
<td>{{ order.number }}</td>
<td>{{ order.opened }}</td>
<td>{{ getClosedDate(order.closed) }}</td>
<td class="text-right">{{ order.sum | curr }}</td>
</tr>
</tbody>
<thead>
<tr>
<th class="text-left" colspan="3">Всего: {{ moreData.count }} {{ GetCountTotalOrders(moreData.count) }}</th>
<th class="text-right">Итого: {{ moreData.sum | curr }} BYN</th>
</tr>
</thead>
</table>
</div>
<div ng-if="moreData.orders.length == 0">
<div class="text-muted">Закрытых заказов нет</div>
</div>
</div>
</div>