@extends('claim.claim-header') @section('claim-contents')
Type | View File | Amount | Current Status | Action |
---|---|---|---|---|
{{ $att->attachment_type }} |
View {{ $att->attachment_description }} Last Updated: {{ date('M d, Y h:i A',strtotime($att->updated_at)) }} |
P{{ number_format($att->attachment_amount,2,".",",") }} |
{{ strtoupper($att->attachment_current_status=='disapproved' ? 'with clarification': $att->attachment_current_status) }} |
{{-- Delete --}}
@if(isset($adjuster))
{{-- {{ dd($enableActionBtn) }} --}}
{{-- assigned adjuster --}}
@if(($enableActionBtn) && ($att->attachment_current_status==NULL || $att->attachment_current_status=='with clarification' || $att->attachment_current_status=='sent to claimant'))
@endif
@else
{{-- other authorized person to approve attachment --}}
@foreach($authorized as $auth)
{{-- {{ dd($auth) }} --}}
@if($att->internal_attachment_id == $auth['attachment'])
@if($claim->claim_tag!='closed')
@foreach($auth['authorized_person'] as $key => $ap)
@if($key == 'authorized_adjuster')
@foreach($ap as $adj)
@if(Auth::user()->user_id == $adj->user_id && $att->attachment_current_status == 'pending')
@endif
@endforeach
@elseif($key == 'group_manager_initial')
@if(Auth::user()->user_id == $ap->user_id && $att->attachment_current_status == 'pending')
@endif
@else
@if($att->attachment_type != 'Letter of Authority' && $att->attachment_type != 'Order of Payment' && $att->attachment_type != 'Denial Letter')
@if(Auth::user()->user_id == $ap->user_id)
@if($att->attachment_type == 'Evaluation' && $att->attachment_current_status != 'approved')
@elseif($att->attachment_type == 'Loss Card' || $att->attachment_type == 'Approval Sheet')
@if($att->attachment_current_status == 'pending' || $att->attachment_current_status == 'reviewed')
@elseif($att->attachment_current_status == 'initially approved')
@endif
@endif
@if($att->attachment_current_status != 'approved')
@endif
@endif
@endif
@endif
@endforeach
@endif
@endif
@endforeach
@endif
@if($att->attachment_current_status!=NULL && $att->attachment_description!='Offer Letter')
@endif
|
No data found. |