@extends('claim.claim-header') @section('claim-contents')

Internal Attachments
@if($claim->adjuster_id!=0) @if(isset($adjuster) && ($claim->claim_tag=='accepted' || $claim->claim_tag=='for-approval' || $claim->claim_tag=='disapproved'))
{{-- --}}
@endif @endif @forelse($claim_attachments as $att) @empty @endforelse
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.
{{--
Claim Status View Text Status
@forelse($claim_status as $stat)
{{ $stat->status }}
{{ date('M d, Y h:i A', strtotime($stat->created_at)) }}
@empty No status found. @endforelse
--}}


Previous
@if(isset($auth['authorized_person']['accounting'])) @php $email = $auth['authorized_person']['accounting']->acct_email; @endphp @endif @endsection