Files
2025-08-17 16:23:14 +05:45

82 lines
2.6 KiB
PHP

@extends('admin::layouts.master')
@section('title')
Consultation Message
@endsection
@section('breadcrumb')
@php
$breadcrumbData = [
[
'title' => 'Consultation Message',
'link' => 'null',
],
[
'title' => 'Dashboard',
'link' => route('dashboard'),
],
[
'title' => 'Consultation Message',
'link' => null,
],
];
@endphp
@include('admin::layouts.partials.breadcrumb', $breadcrumbData)
@endsection
@section('content')
<!-- banners List Table -->
<div class="card">
<div class="row">
<div class="col-md-6">
<h4 class="card-header">Consultation Message</h4>
</div>
</div>
<div class="card">
<div class="card-header">
<h5> Consultated By {{ $consultation->name ?? 'N/A' }}</h5>
</div>
<div class="modal-body">
<table class="table">
<tbody>
<tr>
<th>Name:</th>
<td>{{ $consultation->name ?? 'N/A' }}</td>
</tr>
<tr>
<th>Email:</th>
<td>{{ $consultation->email ?? 'N/A' }}</td>
</tr>
<tr>
<th>Contact No.:</th>
<td>{{ $consultation->contact_no ?? 'N/A' }}</td>
</tr>
<tr>
<th>Age Group:</th>
<td>{{ $consultation->ageGroupOption() ?? 'N/A' }}</td>
</tr>
<tr>
<th>Procedure of Interest:</th>
<td>{{ $consultation->procedureOfInterestOption() ?? 'N/A' }}</td>
</tr>
<tr>
<th>Subject:</th>
<td>{{ $consultation->subject ?? 'N/A' }}</td>
</tr>
<tr>
<th>Message:</th>
<td>{{ $consultation->message ?? 'N/A' }}</td>
</tr>
</tbody>
</table>
</div>
<div class="card-footer">
<a href="{{ route('cms.consultation.index') }}" class="btn btn-secondary">Close</a>
</div>
</div>
</div>
@endsection