This commit is contained in:
2023-10-06 14:57:33 +07:00
parent 1d11e06178
commit 5376873552
50 changed files with 3683 additions and 150 deletions

View File

@@ -41,13 +41,13 @@ class PaymentController extends Controller
// Appointment Start
// if ($request->has('appointment_start')) {
$detail->where('dTanggalAppointment', '>=', $request->appointment_start);
$detail->where('dCreateOn', '>=', $request->appointment_start);
// } else {
// $detail->where('dTanggalAppointment', '>', now()->format('Y-m-d'));
// }
// if ($request->has('appointment_end')) {
$detail->where('dTanggalAppointment', '<=', $request->appointment_end);
$detail->where('dCreateOn', '<=', $request->appointment_end);
// } else {
// $detail->where('dTanggalAppointment', '<', now()->addDay(1)->format('Y-m-d'));
// }