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

40 lines
2.0 KiB
HTML

<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.deleted_orders.length > 0">
<table class="table table-hover">
<thead>
<tr>
<th class="text-right">Заказ №</th>
<th class="text-right">Открыт</th>
<th class="text-right">Закрыт</th>
<th class="text-right">Сумма удалений, BYN</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="deleted_order in moreData.deleted_orders" ng-click="getItemsDeleted(deleted_order)">
<td class="text-right">{{ deleted_order.number }}</td>
<td class="text-right">{{ deleted_order.opened }}</td>
<td class="text-right">{{ getClosedDate(deleted_order.closed) }}</td>
<td class="text-right">{{ deleted_order.deleted_sum | curr}}</td>
</tr>
</tbody>
<thead>
<tr>
<th colspan="4" class="text-right">Удаление {{ moreData.total_count }} {{ GetCountDeletedPositions(more.total_count) }} на сумму {{ moreData.total_sum | curr }} BYN</th>
</tr>
</thead>
</table>
</div>
<div ng-if="moreData.deleted_orders.length == 0">
<div class="text-muted">Удаленных позиций нет</div>
</div>
</div>
</div>
</div>