36 lines
2.2 KiB
HTML
36 lines
2.2 KiB
HTML
<div class="modal-dialog modal-lg">
|
|
<div class="modal-content" id="reportStaff">
|
|
<div class="modal-header">
|
|
<button type="button" class="close" data-dismiss="modal">×</button>
|
|
<button class="btn btn-icon white" ng-click="printElem('#reportStaff')">
|
|
<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-repeat="staff in staffs">
|
|
<table class="table table-border">
|
|
<thead>
|
|
<th>
|
|
{{ staff.name }}
|
|
</th>
|
|
</thead>
|
|
<tbody>
|
|
<td>
|
|
<p ng-if="staff.input_count > 0">{{staff.input_count}} внесений в кассу на сумму {{staff.input_sum | curr}} BYN</p>
|
|
<p ng-if="staff.output_count > 0">{{staff.output_count}} выплат из кассы на сумму {{staff.output_sum | curr}} BYN</p>
|
|
<p ng-if="staff.opened_count > 0">Открыто {{staff.opened_count}} заказов на сумму {{staff.opened_sum | curr}} BYN</p>
|
|
<p ng-if="staff.closed_count > 0">Закрыто {{staff.closed_count}} заказов на сумму {{staff.closed_sum | curr}} BYN</p>
|
|
<p ng-if="staff.return_count > 0">{{staff.return_count}} возвратов на сумму {{staff.return_sum | curr}} BYN</p>
|
|
<p ng-if="staff.annul_count > 0">{{staff.annul_count}} аннулирований на сумму {{staff.annul_sum | curr}} BYN</p>
|
|
<p ng-if="staff.deleted_count > 0">{{staff.deleted_count}} удалений на сумму {{staff.deleted_sum | curr}} BYN</p>
|
|
</td>
|
|
</tbody>
|
|
</table>
|
|
</hr>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div> |