Przeglądaj źródła

FE2 > Dashboard > Appt notifications not working - fix

Vijayakrishnan 3 lat temu
rodzic
commit
4f4665d058
1 zmienionych plików z 3 dodań i 3 usunięć
  1. 3 3
      app/Models/Pro.php

+ 3 - 3
app/Models/Pro.php

@@ -535,21 +535,21 @@ WHERE mcp_pro_id = :pro_id
     public function getAppointmentsPendingStatusChangeAck() {
         return Appointment::where('pro_id', $this->id)
             ->where('is_status_acknowledgement_from_appointment_pro_pending', true)
-            ->where('raw_date', '>=', DB::raw('NOW()'))
+            //->where('raw_date', '>=', DB::raw('NOW()'))
             ->orderBy('raw_date', 'asc')
             ->get();
     }
     public function getAppointmentsPendingDecisionAck() {
         return Appointment::where('pro_id', $this->id)
             ->where('is_decision_acknowledgement_from_appointment_pro_pending', true)
-            ->where('raw_date', '>=', DB::raw('NOW()'))
+            //->where('raw_date', '>=', DB::raw('NOW()'))
             ->orderBy('raw_date', 'asc')
             ->get();
     }
     public function getAppointmentsPendingTimeChangeAck() {
         return Appointment::where('pro_id', $this->id)
             ->where('is_time_change_acknowledgement_from_appointment_pro_pending', true)
-            ->where('raw_date', '>=', DB::raw('NOW()'))
+            //->where('raw_date', '>=', DB::raw('NOW()'))
             ->orderBy('raw_date', 'asc')
             ->get();
     }