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

@php $edit = (Auth::user()->user_type=='Claimant' && $claim->claim_tag=='draft') || (Auth::user()->user_type=='Adjuster' && $claim->claim_tag=='draft') || (Auth::user()->user_type=='Adjuster' && $claim->claim_tag=='accepted') || (Auth::user()->user_type=='Encoder' && $claim->claim_tag=='accepted') || (Auth::user()->user_type=='Group Manager' && $claim->claim_tag=='pending') @endphp @if($edit)

Issuing Branch: {{ strtoupper($claim->branch_description) }}

@endif
@csrf @if($claim->claim_tag!='draft')
@if ($errors->has('claim_no')) {{ $errors->first('claim_no') }} @endif
@endif
@if ($errors->has('assured')) {{ $errors->first('assured') }} @endif
@if ($errors->has('address')) {{ $errors->first('address') }} @endif
send_to_assured == 'Yes') ? 'checked' : '' }} readonly> Send notifications to this email @if ($errors->has('address')) {{ $errors->first('email_address') }} @endif
+63
@if ($errors->has('mobile')) {{ $errors->first('mobile') }} @endif
@if(Auth::user()->user_type == 'Adjuster' || Auth::user()->user_type == 'Staff' || Auth::user()->user_type == 'Encoder')
user_type == 'Adjuster') @endif> Send notifications to this email
@if ($errors->has('tp_email_address')) {{ $errors->first('tp_email_address') }} @endif
+63
@if ($errors->has('tp_mobile')) {{ $errors->first('tp_mobile') }} @endif
@endif
@if ($errors->has('policy_no')) {{ $errors->first('policy_no') }} @endif
@if ($errors->has('inception_date')) {{ $errors->first('inception_date') }} @endif
@if ($errors->has('expiry_date')) {{ $errors->first('expiry_date') }} @endif
@if ($errors->has('policy_type')) {{ $errors->first('policy_type') }} @endif
@if($claim->claim_tag!='draft' && Auth::user()->user_type=='Adjuster' || Auth::user()->user_type=='Group Manager')
@if ($errors->has('dealer_repairshop')) {{ $errors->first('dealer_repairshop') }} @endif
@endif


Next
@endsection