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,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.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>