23 lines
1.0 KiB
PHP
23 lines
1.0 KiB
PHP
<?php
|
|
|
|
use Illuminate\Support\Facades\Route;
|
|
|
|
Route::middleware(['auth', 'verified', 'role_or_permission:patient|patient-list|news-list'])->group(function () {
|
|
Route::prefix('patient')->group(function () {
|
|
Route::livewire('dashboard', \App\Livewire\Patient\Dashboard::class)
|
|
->name('patient.dashboard');
|
|
|
|
Route::get('/my-profile', \App\Livewire\Patient\PatientProfile::class)->name('patient.profile');
|
|
Route::get('/complete-profile', \App\Livewire\Patient\CompleteProfile::class)->name('patient.complete-profile');
|
|
|
|
Route::get('{patient}/print', [App\Http\Controllers\Admin\PatientController::class, 'print'])
|
|
->name('patient.patients.print');
|
|
|
|
Route::get('/news', App\Livewire\Patient\News::class)
|
|
->name('patient.news');
|
|
Route::get('/news/{news:slug}', App\Livewire\Patient\NewsDetail::class)->name('patient.news.show');
|
|
|
|
Route::get('/appointment', App\Livewire\Patient\BookingAntrean::class)->name('patient.appointment');
|
|
});
|
|
});
|