Обновление отчета по персоналу
This commit is contained in:
miroman-afk
2022-06-14 12:22:42 +03:00
parent ebd1180d89
commit 7fdcbcc9e8
8 changed files with 403 additions and 76 deletions

View File

@@ -10,40 +10,26 @@
<span class="text-muted">{{start_date}} - {{end_date}}</span>
</div>
<div class="modal-body p-lg">
<div class="col-md-6" ng-repeat="staff in staffs">
<div class="table-responsive">
<table class="table table-border">
<thead>
<th>{{ staff.name }}</th>
</thead>
<tbody>
<tr ng-if="staff.input_count > 0">
<td>{{staff.input_count}} внесений в кассу на сумму {{staff.input_sum | curr}} BYN</td>
</tr>
<tr ng-if="staff.output_count > 0">
<td>{{staff.output_count}} выдач из кассы на сумму {{staff.output_sum | curr}} BYN</td>
</tr>
<tr ng-if="staff.payment_count > 0">
<td>{{staff.payment_count}} платежных документов на сумму {{staff.payment_sum | curr}} BYN</td>
</tr>
<tr ng-if="staff.opened_count > 0">
<td>Открыто {{staff.opened_count}} документов на сумму {{staff.opened_sum | curr}} BYN</td>
</tr>
<tr ng-if="staff.input_presale_count > 0">
<td>Внесено {{staff.input_presale_count}} авансов на сумму {{staff.input_presale_sum | curr} BYN</td>
</tr>
<tr ng-if="staff.output_presale_count > 0">
<td>Выдано {{staff.output_presale_count}} авансов на сумму {{staff.output_presale_sum | curr}} BYN</td>
</tr>
<tr ng-if="staff.correct_count > 0">
<td>Внесено {{staff.correct_count}} корекций на сумму {{staff.correct_sum | curr}} BYN</td>
</tr>
<tr ng-if="staff.return_count > 0">
<td>{{staff.return_count}} возвратов на сумму {{staff.return_sum | curr}} BYN</td>
</tr>
</tbody>
</table>
</div>
<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>