@if(isset($loop))
{{ $loop->iteration }}
@endif
pay_status == 2 || $policy->pay_status == 3) checked disabled
@elseif($policy->pay_status == 1 ) checked
class="checked-payment-for-reference pre-checked-checkbox"
@else
class="checked-payment-for-reference"
@endif >
{{-- Policy Id {{$policy->id}} --}}
@isset($policy->belong)
CHASSIS : {{$policy->belong->ChassisNumber}}
ENG NO : {{$policy->belong->EngineNumber}}
REG NO : {{$policy->belong->RegistrationNumber}}
@endif
@isset($policy->belong)
Model : {{$policy->belong->Model}}
Seat : {{$policy->belong->SittingCapacity}}
Year :{{$policy->belong->YearOfManufacture}}
Fuel : {{$policy->belong->FuelUsed}}
@endif
@if(isset($policy->PrevCoverNoteReferenceNumber))
#Prev CNR: {{$policy->PrevCoverNoteReferenceNumber == $policy->CoverNoteReferenceNumber ? '' : $policy->PrevCoverNoteReferenceNumber }}
@endif
@if(isset($policy->CoverNoteReferenceNumber))
#Reference: {{$policy->CoverNoteReferenceNumber}}
@endif
@if(isset($policy->StickerNumber))
#Sticker No: {{$policy->StickerNumber}}
@endif
@if(isset($policy->RequestId))
#RequestId : {{$policy->RequestId}}
@endif
@if(isset($policy->ResponseStatusCode))
@if(!$policy->CoverNoteReferenceNumber)
{{$policy->ResponseStatusCode}} - {{$policy->ResponseStatusDesc}}
@else
{{$policy->ResponseStatusCode}} - {{$policy->ResponseStatusDesc}}
@endif
@endif
@if(isset($policy->CoverNoteReferenceNumber))
#RiskNoteNumber : {{$policy->id}}
@endif
@if(isset($policy->fleet_entry))
#Entry : {{$policy->fleet_entry}}
@endif
@if(count($policy->riskPolicies) == 0 )
Add Risk
@endif
@isset($policy->riskPolicies)
@foreach($policy->riskPolicies as $risk)
@include('contracts.render.policy_risk')
@endforeach
@endisset
@if( Auth::user()->hasRole('underwriter'))
{{-- ($policy->ResponseStatusCode !== "TIRA233" && $policy->ResponseStatusCode !== 'TIRA001')--}}
@if(isset($policy->ResponseStatusCode) && $policy->ResponseStatusCode !== 'TIRA001')
@endif
@if(!$policy->CoverNoteReferenceNumber)
{{-- TIRA233 TIRA001 --}}
{{-- --}}
{{-- Receive Money --}}
{{-- --}}
{{-- --}}
@else
@if($policy->status == 'Endorsement' )
{{--Receive Money --}}
{{-- Endorsement --}}
@if($policy->pay_status == 0)
In Process
@elseif($policy->pay_status == 1)
Wait For Finance
@endif
@endif
@if($policy->status == 'Success')
Endorse
{{-- X Cancel --}}
@endif
@endif
@endif