65 lines
2.9 KiB
HTML
65 lines
2.9 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 }}. {{ report.time }}</th>
|
|
</thead>
|
|
|
|
<tbody>
|
|
<tr ng-repeat="item in report.items">
|
|
<td>
|
|
<h6>{{ item.dish_name }}
|
|
<small>
|
|
(<strong>{{ item.count }}</strong> на сумму
|
|
<strong>{{ item.sum | curr }} BYN</strong>)
|
|
</small>
|
|
</h6>
|
|
|
|
<p>
|
|
Удалил:
|
|
<strong>{{ item.who }}</strong>
|
|
<br/> Подтвердил:
|
|
<strong>{{ item.approved }}</strong>
|
|
<br/> Причина:
|
|
<strong>{{ item.reason }}</strong>
|
|
</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</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> |