68 lines
3.1 KiB
HTML
68 lines
3.1 KiB
HTML
<div class="modal-dialog modal-lg">
|
||
<div class="modal-content" id="reportDeleted">
|
||
<div class="modal-header">
|
||
<button type="button" class="close" data-dismiss="modal">×</button>
|
||
<button class="btn btn-icon white" ng-click="printElem('#reportDeleted')">
|
||
<i class="fa fa-print"></i>
|
||
</button>
|
||
<h4 class="modal-title">{{globals.currentUser.organization.name}}</h4>
|
||
<h5 class="modal-title">Отчет по удалениям</h5>
|
||
<span class="text-muted">{{start_date}} - {{end_date}}</span>
|
||
</div>
|
||
<div class="modal-body p-lg">
|
||
<div class="table-responsive" ng-if="report_delete.length > 0">
|
||
<table class="table table-bordered" ng-repeat="report in report_delete">
|
||
<thead>
|
||
<th>Смена#{{ report.shift_id }} Заказ #{{ report.order_code }}</th>
|
||
</thead>
|
||
|
||
<tbody>
|
||
<tr ng-repeat="item in report.items">
|
||
<td>
|
||
<h6>{{ item.dish_name }}
|
||
<small>
|
||
<p>Время удаления: <strong>{{item.time}}</strong></p>
|
||
<p>Цена товара: <strong>{{item.price}} BYN</strong></p>
|
||
<p>Количество: <strong>{{item.count}} шт</strong></p>
|
||
<p>На сумму: <strong>{{item.sum}} BYN</strong></p>
|
||
</small>
|
||
</h6>
|
||
|
||
<p>
|
||
Удалил:
|
||
<strong>{{ item.who }}</strong>
|
||
<br/> Подтвердил:
|
||
<strong>{{ item.approved }}</strong>
|
||
<br/> Причина:
|
||
<strong>{{ item.reason }}</strong>
|
||
</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
<hr>
|
||
</table>
|
||
|
||
<hr>
|
||
|
||
<table class="table table-bordered">
|
||
<tbody>
|
||
<tr>
|
||
<td>
|
||
<strong>Итого</strong>
|
||
</td>
|
||
<td style="text-align: right">
|
||
<strong>{{ report_delete.total_count }}</strong> удалений</td>
|
||
<td style="text-align: right">на сумму
|
||
<strong>{{ report_delete.total_sum | curr }} BYN</strong>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div ng-if="report_delete.length == 0">
|
||
<p>Удаления отсутствуют</p>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div> |