{{-- Partial: Lista agrupada de planillas por quincena (acordeón) --}} @if ($groups->isEmpty())
{{ _trans('payroll.No payroll records found') }}
| ID | {{ _trans('common.Name') }} | {{ _trans('payroll.Salary') }} | {{ _trans('payroll.Type') }} | {{ _trans('payroll.Calculation') }} | {{ _trans('common.Status') }} | {{ _trans('common.Action') }} |
|---|---|---|---|---|---|---|
| @if (hasPermission('salary_read')) #{{ $item['employee_id'] ?: '0000' }} @else #{{ $item['employee_id'] ?: '0000' }} @endif | {{-- Nombre --}}{{ $item['employee_name'] }} | {{-- Salario Bruto --}}${{ number_format($item['salary'], 2) }} | {{-- Tipo de recibo --}}{{ $item['type'] }} | {{-- Cálculo (detalles si está calculado) --}}
@if (!$item['is_calculated'])
{{ _trans('common.No') }}
@else
{{ _trans('payroll.Addition') }}: ${{ number_format($item['allowance_amount'], 2) }}
@endif
{{ _trans('payroll.Deduction') }}: ${{ number_format($item['deduction_amount'] + $item['absent_amount'] + $item['advance_amount'], 2) }} {{ _trans('payroll.Adjust Salary') }}: ${{ number_format($item['adjust'], 2) }} {{ _trans('payroll.Net Salary') }}: ${{ number_format($item['net_salary'], 2) }} |
{{-- Estado --}}
{{ $item['status_name'] }} | {{-- Acciones --}}
|
| {{ _trans('common.No data found') }} | ||||||