@php setlocale(LC_TIME, 'es_ES.UTF-8'); @endphp
Detalles de la Póliza
ASEGURADORA: {{ optional($policy->getInsurance)->name }} CLIENTE: {{ getClientName($policy->getClient) }}
POLIZA: {{ optional($payment->getPolicy)->policy_id }} MES: {{ strftime('%d - %B - %Y', strtotime($payment->payment_date_assumption)) }}
@php $total1=0; $total2=0; $total3=0; $total4=0; $total5=0; $total6=0; $total7=0; $total8=0; $total9=0; @endphp @foreach($listEnsurers as $listEnsurer) @php if ($listEnsurer->titular === 1) { $total1 += $listEnsurer->prima_vida; $total2 += $listEnsurer->medico_empleado_solo; $total3 += $listEnsurer->medico_dependiente; $total4 += $listEnsurer->medico_grupo_familiar; $total5 += $listEnsurer->dental_empleado_solo; $total6 += $listEnsurer->dental_titular; $total7 += $listEnsurer->dental_dependiente; $total8 += ($listEnsurer->totalmedico_vida - $listEnsurer->prima_vida); $total9 += $listEnsurer->totalmedico_vida; } @endphp @endforeach
CATEGORIA CERTIFICADO NOMBRE COMPLETO Prima Vida Medico Empleado Solo Medico Dependiente Medico grupo familiar Dental titular Dental dependiente Dental familiar Total Gastos Médicos Total Médico y Vida
{{optional($listEnsurer->getInsurersLife)->category_id}} {{optional($listEnsurer->getInsurersLife)->certificate_id}} {{optional($listEnsurer->getInsurersLife)->name}} {{$policy->currency}} {{number_format($listEnsurer->prima_vida, 2, '.', ',')}} {{$policy->currency}} {{number_format($listEnsurer->medico_empleado_solo, 2, '.', ',')}} {{$policy->currency}} {{number_format($listEnsurer->medico_dependiente, 2, '.', ',')}} {{$policy->currency}} {{number_format($listEnsurer->medico_grupo_familiar, 2, '.', ',')}} {{$policy->currency}} {{number_format($listEnsurer->dental_empleado_solo, 2, '.', ',')}} {{$policy->currency}} {{number_format($listEnsurer->dental_titular, 2, '.', ',')}} {{$policy->currency}} {{number_format($listEnsurer->dental_dependiente, 2, '.', ',')}} {{$policy->currency}} {{number_format( ($listEnsurer->totalmedico_vida - $listEnsurer->prima_vida) , 2, '.', ',' )}} {{$policy->currency}} {{number_format($listEnsurer->totalmedico_vida, 2, '.', ',' )}}
TOTALES {{$policy->currency}} {{number_format($total1, 2, '.', ',' )}} {{$policy->currency}} {{number_format($total2, 2, '.', ',' )}} {{$policy->currency}} {{number_format($total3, 2, '.', ',' )}} {{$policy->currency}} {{number_format($total4, 2, '.', ',' )}} {{$policy->currency}} {{number_format($total5, 2, '.', ',' )}} {{$policy->currency}} {{number_format($total6, 2, '.', ',' )}} {{$policy->currency}} {{number_format($total7, 2, '.', ',' )}} {{$policy->currency}} {{number_format($total8, 2, '.', ',' )}} {{$policy->currency}} {{number_format($total9, 2, '.', ',' )}}
Observaciones {{$payment_detail->description}}