@extends('layout.app') @section('title', 'Update Accident Claim') @push('header_script') @endpush @section('content')
Back
Stage 1: Accident Report
Stage 2: Claim Filing
Stage 3: Claim Processing
Stage 4: Repair & Closure
Accident — {{ $claim->vehicle->vehicle_no ?? 'N/A' }} — {{ \Carbon\Carbon::parse($claim->accident_datetime)->format('d-M-Y') }}
@if(session('success')) @endif {!! Form::model($claim, ['route' => ['accident-claims.update', $claim->id], 'method' => 'put', 'autocomplete' => 'off', 'id' => 'accidentUpdateForm', 'files' => true]) !!}
Incident Details
Accident scene and vehicle damage photos
@if($claim->documents->count() > 0)
@foreach($claim->documents as $doc) @endforeach
@endif
Third Party & Injuries
third_party_involved ? 'checked' : '' }} onchange="$('#third_party_involved').val('0'); toggleThirdPartySection();"> third_party_involved ? 'checked' : '' }} onchange="$('#third_party_involved').val('1'); toggleThirdPartySection();">
injuries ? 'checked' : '' }} onchange="$('#injuries').val('0'); toggleInjuriesSection();"> injuries ? 'checked' : '' }} onchange="$('#injuries').val('1'); toggleInjuriesSection();">
Police Case (FIR)
police_case_filed ? 'checked' : '' }} onchange="$('#police_case_filed').val('0'); togglePoliceSection();"> police_case_filed ? 'checked' : '' }} onchange="$('#police_case_filed').val('1'); togglePoliceSection();">
Insurance Claim Filing
@php $vehicleDoc = $claim->vehicle->document ?? null; $hasLinkedPolicy = $vehicleDoc && $vehicleDoc->insurance_no; $policyNo = $claim->policy_number ?: ($hasLinkedPolicy ? $vehicleDoc->insurance_no : ''); $insCo = $claim->insurance_company ?: ($hasLinkedPolicy ? $vehicleDoc->insurance_company : ''); @endphp
policy_number ? 'readonly' : '' }}> @if($hasLinkedPolicy) @endif
insurance_company ? 'readonly' : '' }}>
@php $submitted = $claim->documents_submitted ?? []; $checklist = ['RC Copy', 'DL Copy', 'FIR Copy', 'Photos', 'Repair Estimate']; @endphp @foreach($checklist as $item)
@endforeach
Claim Processing & Tracking
Reported
Claim Filed
Survey Scheduled
Surveyed
Approved
Settled
Repair & Closure Details
For v1: plain ₹ number field.
TOTAL REPAIR COST

₹0.00

NET LOSS TO COMPANY

₹0.00

case_closed ? 'checked' : '' }} onchange="$('#case_closed').val('0'); toggleCaseClosed();"> case_closed ? 'checked' : '' }} onchange="$('#case_closed').val('1'); toggleCaseClosed();">
{!! Form::close() !!}
@endsection @push('footer_script') @endpush