@php $counter = 1; @endphp @foreach ($response['data'] as $key => $value)
|
:: Consolidated Renewal Report (D/L) :: @if($response['start_date'] != 'not selected') From Date :- {{ $response['start_date'] }} @endif @if($response['end_date'] != 'not selected') To Date :- {{ $response['end_date'] }} @endif Selected Department : @php $lastDepartmentCount = count($response['department']) - 1; foreach ($response['department'] as $key2 => $value2) { if($lastDepartmentCount != 0){ echo $value2 . ", "; }else{ echo "General Insurance, Life Insurance, Investment, Documents"; } } @endphp |
Page :- {{ $key + 1 }} > {{ $response['count'] }} |
| Group Name: {{ $groupName }} | Family Name: {{ $client['family_name'] }} | ||||||||||||||
| Policy Holder Name: {{ $client['policy_holder_name'] }} | Mob No: {{ $client['mobile_number'] . ' / ' . $client['whatsapp_number'] }} | Email: {{ $client['email'] }} | |||||||||||||
| Sr. No. | Division | Ins. Co. Name | Policy / Docs. No. | Plan / Segment / Docs | Detail | Risk Start | Sum Assured | Risk End | last Prem. | Mode | Due Type | Renewal Date | Payable | Recievable | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $counter }} | @else{{ $counter }} | @endif{{ $policy['division'] ?? '-' }} | {{ $policy['ins_comp_name'] ?? '-' }} | {{ $policy['policy_number'] ?? '-' }} | {{ $policy['plan_segment_name'] ?? '-' }} | {{ $policy['plan_segment_details'] ?? '-' }} | {{ $policy['risk_start_date'] ?? '-' }} | {{ $policy['sum_assured'] ?? '-' }} | {{ $policy['risk_end_date'] ?? '-' }} | {{ $policy['last_prem_date'] ?? '-' }} | {{ $policy['mode'] ?? '-' }} | {{ $policy['due_type'] ?? '-' }} | {{ $policy['renewal_date'] ?? '-' }} | {{ $policy['payble_amt'] ?? '-' }} | - |
| Remarks | {{ $policy['remark'] ?? '-' }} | ||||||||||||||
| Member Total | {{ $value3['member_total'] ?? '-' }} | ||||||||||||||
| Group Total | {{ $value3 ?? '-' }} | ||||||||||||||