|
@@ -291,7 +291,7 @@ class HomeController extends Controller
|
|
$performerProID = $performer->pro->id;
|
|
$performerProID = $performer->pro->id;
|
|
$isAdmin = ($performer->pro->pro_type === 'ADMIN');
|
|
$isAdmin = ($performer->pro->pro_type === 'ADMIN');
|
|
|
|
|
|
- $appointments = Appointment::where("start_time", '>=', $from)->where("start_time", '<=', $to);
|
|
|
|
|
|
+ $appointments = Appointment::where("start_time", '>=', $from)->where("start_time", '<=', $to.' 20:00:00+00');
|
|
|
|
|
|
if(!$isAdmin) {
|
|
if(!$isAdmin) {
|
|
$appointments = $appointments->where("pro_id", $performerProID);
|
|
$appointments = $appointments->where("pro_id", $performerProID);
|