|
@@ -482,7 +482,8 @@ WHERE measurement.label NOT IN ('SBP', 'DBP')
|
|
$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.' 23:59:00+00');
|
|
|
|
|
|
+ // $appointments = Appointment::where("start_time", '>=', $from)->where("start_time", '<=', $to.' 23:59:00+00');
|
|
|
|
+ $appointments = Appointment::where("raw_date", '=', $from);
|
|
|
|
|
|
if(!$isAdmin) {
|
|
if(!$isAdmin) {
|
|
$appointments = $appointments->where("pro_id", $performerProID);
|
|
$appointments = $appointments->where("pro_id", $performerProID);
|