Enquiry Details: {{ $enquiry->full_name }}
Details
  • Date Received: {{ $enquiry->getDateReceivedAttribute($enquiry->date_received) }}
  • Full Name: {{ $enquiry->full_name }}
  • Force Number: {{ $enquiry->force_no }}
  • Check Number: {{ $enquiry->check_number }}
  • Account Number: {{ $enquiry->account_number }}
  • Bank Name: {{ $enquiry->bank_name }}
  • District: {{ $enquiry->district->name ?? 'No District' }}
  • Phone Number: {{ $enquiry->phone }}
  • Region: {{ $enquiry->region->name ?? 'No Region' }}
  • {{--

    Region: {{ $enquiry->region->name ?? 'No Region' }}

    District: {{ $enquiry->district->name ?? 'No District' }}

    --}}
  • Type of Enquiry: {{ $enquiry->type }}
  • Status: {{ $enquiry->status }}
  • @include('enquiries.partials.type_details', ['enquiry' => $enquiry]) @if ($enquiry->payment)
  • Payment Status: {{ $enquiry->payment->status }}
  • Payment Amount: ${{ number_format($enquiry->payment->amount, 2) }}
  • @else
  • No Payment Details Available
  • @endif
{{--
Attachments
@if ($enquiry->file_path)

Your browser does not support PDFs. Download the PDF.

@else
No file uploaded.
@endif
--}}
Attachments
@if ($enquiry->folios->isNotEmpty()) @foreach ($enquiry->folios as $folio) @php $extension = strtolower(pathinfo($folio->file_path, PATHINFO_EXTENSION)); @endphp @if ($extension === 'pdf')

Your browser does not support PDFs. Download the PDF.

{{--

Download PDF

--}}
@elseif (in_array($extension, ['jpg', 'jpeg', 'png', 'gif']))
Attachment Image {{--

Download Image

--}}
@else

Attachment: {{ basename($folio->file_path) }}

Download File
@endif @endforeach @else
No files uploaded.
@endif