{{ $sendRecieved->document_title }}
{{ __('admin.open') }}
@if ($sendRecieved->document_attach_file) @php $ext = strtolower(pathinfo($sendRecieved->document_attach_file, PATHINFO_EXTENSION)); @endphp @if (in_array($ext, ['jpg','jpeg','png','gif'])) preview @elseif ($ext === 'pdf') @else

{{ __('admin.preview_not_supported') }}

@endif @else

{{ __('admin.n_a') }}

@endif
{{ __('admin.quick_details') }}

مکتوب نمبر: {{ $sendRecieved->letter_number ?? '-' }}

مرسل: {{ optional($sendRecieved->from)->name_ps ?? optional($sendRecieved->fromDesk)->name_ps ?? '-' }}

مرسل الیه: {{ optional($sendRecieved->toDesk)->name_ps ?? '-' }}

{{ __('admin.update_details_2') }}
@if (session('success'))
{{ session('success') }}
@endif @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf @method('PUT')
{{ __('admin.cancel') }}