@extends('lay.dnekcab.retsam') @section('title') {{ $page_title }} @endsection @section('css') @endsection @section('page-content')
@if(auth()->user()->hasPermissionTo('Application - Edit Application'))
@php $year = (int)substr($application->date, 0, 4); if ($year >= 1900 && $year <= 2100) { // Gregorian → convert to Hijri $convertedDate = getHijriDate($application->date); } elseif ($year >= 1300 && $year <= 1600) { // Hijri → convert to Gregorian $convertedDate = $application->date; } else { // Unknown / invalid date format $convertedDate = null; } @endphp @csrf
{{ __('global.required') }}
{{ __('global.required') }}
{{ __('global.required') }}
{{ __('global.required') }}
{{ __('global.required') }}
{{ __('global.required') }}
{{ __('global.required') }}
{{ __('global.required') }}
{{ __('global.required') }}
{{ __('global.required') }}
{{ __('global.required') }}
@if(!empty($application->attachment))
@endif

{{ __('global.back')}}
@endif
@endsection @section('js') @endsection