update
This commit is contained in:
@@ -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'));
|
||||
// }
|
||||
|
||||
Reference in New Issue
Block a user