@extends('layouts.app') @section('content')

{{ app()->getLocale() == 'ar' ? 'تفاصيل المطالبة' : 'Claim Details' }} - {{ $insurance_claim->claim_number }}

{{ app()->getLocale() == 'ar' ? 'عودة' : 'Back' }}
{{ app()->getLocale() == 'ar' ? 'السيارة' : 'Vehicle' }}
{{ $insurance_claim->car->brand?->name }} ({{ $insurance_claim->car->plate_number }})
{{ app()->getLocale() == 'ar' ? 'رقم المطالبة' : 'Claim Number' }}
{{ $insurance_claim->claim_number }}
{{ app()->getLocale() == 'ar' ? 'تاريخ الحادث' : 'Accident Date' }}
{{ $insurance_claim->accident_date->format('Y-m-d') }}
{{ app()->getLocale() == 'ar' ? 'الحالة' : 'Status' }}
{{ $insurance_claim->claim_status }}
@if($insurance_claim->rental)
{{ app()->getLocale() == 'ar' ? 'العقد المرتبط' : 'Linked Contract' }}
{{ app()->getLocale() == 'ar' ? 'عقد #' : 'Contract #' }}{{ $insurance_claim->rental->contract_number }}
@endif
{{ app()->getLocale() == 'ar' ? 'وصف الحادث' : 'Accident Description' }}
{{ $insurance_claim->description }}
{{ app()->getLocale() == 'ar' ? 'التكلفة التقديرية' : 'Est. Damage Cost' }}
{{ number_format($insurance_claim->estimated_damage_cost, 2) }} SAR
{{ app()->getLocale() == 'ar' ? 'نسبة التحمل' : 'Deductible' }}
{{ number_format($insurance_claim->deductible_paid, 2) }} SAR
{{ app()->getLocale() == 'ar' ? 'المطالبة التأمينية' : 'Insurance Claim' }}
{{ number_format($insurance_claim->estimated_damage_cost - $insurance_claim->deductible_paid, 2) }} SAR
{{ app()->getLocale() == 'ar' ? 'تم التسجيل بواسطة' : 'Recorded By' }}
{{ $insurance_claim->creator->name ?? '---' }} - {{ $insurance_claim->created_at->format('Y-m-d H:i') }}
@endsection