Penambahan kondisi tebus obat atau tidak

This commit is contained in:
ivan-sim
2024-05-14 09:33:25 +07:00
parent 618fd9bf91
commit e67b48a8da

View File

@@ -45,7 +45,8 @@ class PrescriptionController extends Controller
$startDate = $request->startDate;
$endDate = $request->endDate;
$livechat = Livechat::with('doctor.user', 'doctor.speciality', 'appointment.appointmentDetail', 'healthCare', 'summary');
$livechat = Livechat::with('doctor.user', 'doctor.speciality', 'appointment.appointmentDetail', 'healthCare', 'summary')
->where('nTebusObat', '=', 1);
// ->where('nIDAppointment', '!=', null)
// ->where('nIDAppointment', '!=', '');
if ($startDate) {