@extends('layout.main') @section('content')

Mapping Asuransi - Tindakan

@csrf

{{ $dataAsuransi->nama }}

@foreach ($tindakan as $td) @php $mapped = $tindakanMapping[$td->id] ?? null; @endphp @endforeach
Nama Tindakan Tarif Normal Cover Type Cover Percentage (%)
{{ $td->nama }} {{ number_format($td->tarif) }} @if ($mapped) {{ ucfirst($mapped->cover_type) }} @else @endif @if ($mapped) {{ $mapped->cover_percentage ?? '-' }}% @else @endif
@endsection @push('script') @endpush