v2.5
Update RestoreShift frontend
This commit is contained in:
72
web/views/reports/items/realisation.html
Normal file
72
web/views/reports/items/realisation.html
Normal file
@@ -0,0 +1,72 @@
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content" id="reportRealisation">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal">×</button>
|
||||
<button class="btn btn-icon white" ng-click="printElem('#reportRealisation')">
|
||||
<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_realisation.length > 0">
|
||||
<table class="table table-bordered" ng-repeat="printer in report_realisation">
|
||||
<thead>
|
||||
<th style="width: 70%">{{ printer.name }}</th>
|
||||
<th style="width: 10%; text-align: right">{{ printer.count }}</th>
|
||||
<th style="width: 20%; text-align: right">{{ printer.sum | curr}} BYN</th>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<tr ng-repeat="item in printer.items">
|
||||
<td>{{ item.name }}</td>
|
||||
<td style="text-align: right">{{ item.count }}</td>
|
||||
<td style="text-align: right">{{ item.sum | curr}}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div ng-if="return_printers.length > 0">
|
||||
<hr>
|
||||
<table class="table table-bordered" ng-repeat="ret_print in return_printers">
|
||||
<thead>
|
||||
<th style="width: 70%">{{ ret_print.name }} (возврат)</th>
|
||||
<th style="width: 10%; text-align: right">-{{ ret_print.count }}</th>
|
||||
<th style="width: 20%; text-align: right">{{ ret_print.sum | curr }} BYN</th>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<tr ng-repeat="item in ret_print.items">
|
||||
<td>{{ item.name }}</td>
|
||||
<td style="text-align: right">-{{ item.count }}</td>
|
||||
<td style="text-align: right">{{ item.sum | curr}}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
|
||||
<table class="table table-bordered">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<strong>Итого</strong>
|
||||
</td>
|
||||
<td style="text-align: right">
|
||||
<strong>{{ report_realisation.total_count }}</strong> позиций</td>
|
||||
<td style="text-align: right">на сумму
|
||||
<strong>{{ report_realisation.total_sum | curr}} BYN</strong>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div ng-if="report_realisation.length == 0">
|
||||
<p>Реализация отсутсвует</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user