@foreach ($response['data'] as $key => $value) Reachassuree - General Invoice
Header Avatar

:: General Insurance Management Report (D/L) ::

@if($response['start_date'] != 'not selected') From Date :- {{ $response['start_date'] }} @endif | {{ $response['date_type'] }} | @if($response['end_date'] != 'not selected') To Date :- {{ $response['end_date'] }} @endif

Page :- {{ $key + 1 }} > {{ $response['count'] }}
@php $sumAssuredTotal = 0; $basicPremTotal = 0; $tpaPremAmtTotal = 0; $taxAmountTotal = 0; $totalAmountTotal = 0; $commAmtTotal = 0; @endphp @foreach ($value as $key1 => $value1) @php $sumAssuredTotal += $value1['sum_assured']; $basicPremTotal += $value1['basic_amount']; $tpaPremAmtTotal += $value1['tpa_premium']; $taxAmountTotal += $value1['tax_amount']; $totalAmountTotal += $value1['total_amount']; $commAmtTotal += $value1['net_commisionable_amount']; @endphp @if ($key1 % 2 == 0) @else @endif @if($value1['risk_to_date'] == null && ($value1['mode'] == 'Single' || $value1['mode'] == 'Till Termination')) @else @endif @if ($value1['tp_due_date'] != NULL) @else @endif
Sr.No. Transaction Date Policy Holder Name Insurance Company Risk From Date Policy No. Prev. Policy No. Vehicle Reg.No. Vehicle Name
{{ $key1 + 1 }}{{ $key1 + 1 }}{{ dateDMYFormat($value1['transaction_date']) }} {{ $value1['policy_holder_name'] }} {{ $value1['insurance_company'] }} {{ dateDMYFormat($value1['risk_from_date']) }} {{ $value1['current_policy_number'] }} {{ $value1['previous_policy_number'] }} {{ $value1['vehicle_no'] }} {{ $value1['vehicle_name'] }}
Transaction Type Group Name Sub Agent Risk To Date Sum Assured Tax Amount Morg. Bank Name
{{ $value1['insurance_type'] }} {{ $value1['group'] }} {{ $value1['sub_agent'] }}Till Termination of transit as per duration clause{{ dateDMYFormat($value1['risk_to_date']) }}{{ number_format($value1['sum_assured'], 2) }} {{ number_format($value1['tax_amount'], 2) }} {{ $value1['bank'] }}
Broker Mob No. W/App No. Division TPA Due Date Basic Premium Total Amount Remarks
{{ $value1['broker'] }} {{ $value1['mobile_number'] }} {{ $value1['whatsapp_number'] }} {{ $value1['division'] }}{{ dateDMYFormat($value1['tp_due_date']) }}{{ number_format($value1['basic_amount'], 2) }} {{ number_format($value1['total_amount'], 2) }} {{ substr($value1['remark'], 0, 150) }}
Agency E-Mail Id Segment Mode TPA Premium For Comm. Amt
{{ $value1['agency'] }} {{ $value1['email'] }} {{ $value1['segment'] }} {{ $value1['mode'] }} {{ number_format($value1['tpa_premium'], 2) }} {{ number_format($value1['net_commisionable_amount'], 2) }}
@endforeach
Page total Sum Assured Basic Premium TPA Premium Amount Tax Amount Total Amount For Comm. Amount
{{ number_format($sumAssuredTotal, 2) }} {{ number_format($basicPremTotal, 2) }} {{ number_format($tpaPremAmtTotal, 2) }} {{ number_format($taxAmountTotal, 2) }} {{ number_format($totalAmountTotal, 2) }} {{ number_format($commAmtTotal, 2) }}
@if ($key + 1 == $response['count']) {{-- --}}
REPORT TOTAL Sum Assured Basic Premium TPA Premium Amount Tax Amount Total Amount For Comm. Amount
{{ $response['total']['total_sum_assured'] }} {{ $response['total']['total_basic_amount'] }} {{ $response['total']['total_tpa_premium'] }} {{ $response['total']['total_tax_amount'] }} {{ $response['total']['total_total_amount'] }} {{ $response['total']['total_net_commisionable_amount'] }}{{ number_format($response['sumAssuredTotal'], 2) }} {{ number_format($response['basicPremAmtTotal'], 2) }} {{ number_format($response['TPAAmtTotal'], 2) }} {{ number_format($response['taxAmtTotal'], 2) }} {{ number_format($response['totalAmt'], 2) }} {{ number_format($response['commiAmtTotal'], 2) }}
@endif @endforeach