@foreach ($nominas as $nomina) @for ($i = 0; $i < $size; $i++) @if (isset($nomina['perceptions'][$i])) @else @endif @if (isset($nomina['deductions'][$i])) @else @endif @endfor

{{ $nomina['code'] . ' - ' . $nomina['description'] }}

PERCEPCIONES

DEDUCCIONES

CÓDIGO

DESCRIPCIÓN

NÚMERO DE EMPLEADOS

TOTAL

CÓDIGO

DESCRIPCIÓN

NÚMERO DE EMPLEADOS

TOTAL

{{ $nomina['perceptions'][$i]['code'] }}

{{ $nomina['perceptions'][$i]['description'] }}

{{ $nomina['perceptions'][$i]['employee_total'] }}

${{ number_format($nomina['perceptions'][$i]['total'],2) }}

 

 

 

 

{{ $nomina['deductions'][$i]['code'] }}

{{ $nomina['deductions'][$i]['description'] }}

{{ $nomina['deductions'][$i]['employee_total'] }}

${{ number_format($nomina['deductions'][$i]['total'],2) }}

 

 

 

 

TOTAL PERCEPCIONES:

${{ number_format($nomina['total_percepiones'], 2) }}

TOTAL DEDUCCIONES:

${{ number_format($nomina['total_deducciones'], 2) }}

NÚMERO DE EMPLEADOS:

{{ $nomina['total_employees'] }}

NETO

${{ number_format($nomina['total_net'],2) }}

@endforeach


TOTAL DE EMPLEADOS TOTAL EN PERCEPCIONES TOTAL EN DEDUCCIONES TOTAL NETO A PAGAR
{{ $total_employees }} ${{ number_format($total_percepciones,2) }} ${{ number_format($total_deducciones,2) }} ${{ number_format($total_net,2) }}


{{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}}
 

ELABORO

AUTORIZO