{{ \App\Helpers\TranslationHelper::transFromDatabase('Insurance Policies', __('بوالص التأمين')) }}

{{ \App\Helpers\TranslationHelper::transFromDatabase('Back', __('عودة')) }}

{{ __('Add Policy') }}

@csrf
{{ __('Save') }}

{{ __('Policies List') }}

@foreach($policies as $policy) @endforeach
{{ __('Provider') }} {{ __('Policy #') }} {{ __('Validity') }} {{ __('Status') }} {{ __('Actions') }}
{{ $policy->provider->name }} {{ $policy->policy_number }} {{ $policy->start_date ? $policy->start_date->format('Y-m-d') : '-' }} - {{ $policy->end_date ? $policy->end_date->format('Y-m-d') : '-' }} {{ $policy->active ? __('Active') : __('Inactive') }} {{ __('Edit') }}
@csrf @method('DELETE')
{{ $policies->links() }}