![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/clinic.corals.io/routes/ |
<?php use App\Http\Controllers\AppointmentController; use App\Http\Controllers\DashboardController; use App\Http\Controllers\DoctorSessionController; use App\Http\Controllers\PatientVisitController; use App\Http\Controllers\ServiceController; use App\Http\Controllers\TransactionController; use App\Http\Controllers\UserController; use App\Http\Controllers\VisitController; use Illuminate\Support\Facades\Route; Route::group(['prefix' => 'patients', 'as' => 'patients.', 'middleware' => ['auth', 'xss', 'checkUserStatus', 'role:patient']], function () { Route::get('/dashboard', [DashboardController::class, 'patientDashboard'])->name('dashboard'); Route::get('/dashboard-patients', [DashboardController::class, 'getPatientList'])->name('patientData.dashboard'); Route::resource('appointments', AppointmentController::class)->except(['edit', 'update']); Route::get('doctor-session-time', [DoctorSessionController::class, 'getDoctorSession'])->name('doctor-session-time'); Route::get('get-service', [ServiceController::class, 'getService'])->name('get-service'); Route::get('get-charge', [ServiceController::class, 'getCharge'])->name('get-charge'); Route::get('appointment-cancel', [AppointmentController::class, 'cancelStatus'])->name('cancel-status'); Route::get('patient-appointments-calendar', [AppointmentController::class, 'patientAppointmentCalendar'])->name('appointments.calendar'); Route::get('transactions', [TransactionController::class, 'index'])->name('transactions'); Route::get('transactions/{transaction}', [TransactionController::class, 'show'])->name('transactions.show'); Route::post('appointment-cancel', [AppointmentController::class, 'cancelStatus'])->name('cancel-status'); Route::get('doctors/{doctor}', [UserController::class, 'show'])->name('doctor.detail'); Route::get('appointments/{appointment}', [AppointmentController::class, 'show'])->name('appointment.detail'); Route::post('appointment-payment', [AppointmentController::class, 'appointmentPayment'])->name('appointment-payment'); Route::get('patient-visits', [PatientVisitController::class, 'index'])->name('patient.visits.index'); Route::get('patient-visits/{patientVisit}', [PatientVisitController::class, 'show'])->name('patient.visits.show'); });