D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
forge
/
eclinic.dentostock.com
/
app
/
Http
/
Controllers
/
Filename :
PatientAppointmentController.php
back
Copy
<?php namespace App\Http\Controllers; use App\Models\Appointment; use Illuminate\Contracts\Foundation\Application; use Illuminate\Contracts\View\Factory; use Illuminate\Contracts\View\View; use Illuminate\Support\Arr; class PatientAppointmentController extends AppBaseController { /** * @return Application|Factory|View */ public function index(): \Illuminate\View\View { $allPaymentStatus = getAllPaymentStatus(); $paymentStatus = Arr::except($allPaymentStatus, [Appointment::MANUALLY]); $paymentGateway = getPaymentGateway(); return view('patients.appointments.index', compact('paymentStatus', 'paymentGateway')); } }