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

78 lines
2.4 KiB
PHP

@extends('admin::layouts.master')
@section('title')
Appointment Message
@endsection
@section('breadcrumb')
@php
$breadcrumbData = [
[
'title' => 'Appointment Message',
'link' => 'null',
],
[
'title' => 'Dashboard',
'link' => route('dashboard'),
],
[
'title' => 'Appointment 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">Appointment Message</h4>
</div>
</div>
<div class="card">
<div class="card-header">
<h5> Appointment Requested By {{ $appointment->full_name ?? 'N/A' }}</h5>
</div>
<div class="modal-body">
<table class="table">
<tbody>
<tr>
<th>Name:</th>
<td>{{ $appointment->full_name ?? 'N/A' }}</td>
</tr>
<tr>
<th>Email:</th>
<td>{{ $appointment->email ?? 'N/A' }}</td>
</tr>
<tr>
<th>Contact No.:</th>
<td>{{ $appointment->contact_no ?? 'N/A' }}</td>
</tr>
<tr>
<th>Doctor:</th>
<td>{{ $appointment->doctorDetail->name ?? 'N/A' }}</td>
</tr>
<tr>
<th>Subject:</th>
<td>{{ $appointment->subject ?? 'N/A' }}</td>
</tr>
<tr>
<th>Message:</th>
<td>{{ $appointment->feedback ?? 'N/A' }}</td>
</tr>
</tbody>
</table>
</div>
<div class="card-footer">
<a href="{{ route('cms.appointment.index') }}" class="btn btn-secondary">Close</a>
</div>
</div>
</div>
@endsection