@extends('salary::reports.base') @section('content')

Anexo IV

Planilla de personal con cobertura Seguro de Vida

Deducciones practicadas al {{ $data['hasta'] }}

@php $total = 0; @endphp @foreach ($data['liquidations'] as $liquidation) @foreach ($liquidation->liquidationdetail as $liquidationdetail) @if ($liquidationdetail->items->name == 'Seguro de vida') @php $total = $total + $liquidationdetail->amount; @endphp @endif @endforeach @endforeach
Cod. Beneficiario Total
{{ $liquidation->employee->docket }} {{ strtoupper($liquidation->employee->person->name) }} $ {{ number_format($liquidationdetail->amount, 2, ',', '.') }}
Total deducciones al {{ $data['hasta'] }} $ {{ number_format($total, 2, ',', '.') }}

{{ $data['organization_name']}}, {{ now()->isoFormat('LL') }}

@endsection