Files
admin-php-module/web/views/out.html
2021-05-31 16:11:03 +03:00

51 lines
2.3 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<div class="modal-dialog modal-lg">
<div class="modal-content" id="reportOut">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">&times;</button>
<button class="btn btn-icon white" ng-click="printElem('#reportOut')">
<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="box">
<div class="table-responsive">
<table class="table table-bordered table-hover m-a-0">
<thead>
<tr>
<th style="width: 10%;vertical-align : middle;text-align:center;" rowspan="2">Номер заказа</th>
<th style="width: 80%;vertical-align : middle;text-align:center;" colspan="4">Товар</th>
<th style="width: 10%;vertical-align : middle;text-align:center;" rowspan="2">Общ. итог</th>
</tr>
<tr>
<th>Наим.</th>
<th>Кол-во</th>
<th>Цена</th>
<th>Итог</th>
</tr>
</thead>
<tbody ng-repeat="order in orders">
<tr ng-repeat="item in order.items">
<td ng-if="$index == 0" style="vertical-align : middle;text-align:center;" rowspan={{order.items_count}}>{{item.id}}</td>
<td>{{item.name}}</td>
<td>{{item.count}}</td>
<td>{{item.price}}</td>
<td>{{item.full_price}} </td>
<td ng-if="$index == 0" style="vertical-align : middle;text-align:center;" rowspan={{order.items_count}}> {{order.price}} </td>
</tr>
</tbody>
<thead>
<th colspan="6">Всего заказов: {{total.total_count}}</th>
</thead>
<thead>
<th colspan="6">Итого: {{total.total_price | curr}} BYN</th>
</thead>
</table>
</div>
</div>
</div>
</div>
</div>