You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$sql = "SELECT tech.fname AS fname, tech.lname AS lname, ctr.status AS status FROM technician AS tech, cus_tech_req AS ctr WHERE ctr.tech_id = tech.tech_id AND ctr.cus_id = :cus_id";
76
+
$sql = "SELECT ctr.tech_id AS tech_id, ctr.cus_id AS cus_id, tech.fname AS fname, tech.lname AS lname, ctr.status AS status FROM technician AS tech, cus_tech_req AS ctr WHERE ctr.tech_id = tech.tech_id AND ctr.cus_id = :cus_id";
Copy file name to clipboardexpand all lines: models/Technician.php
+1-1
Original file line number
Diff line number
Diff line change
@@ -67,7 +67,7 @@ public function TechnicianAddressGeocoding()
67
67
68
68
publicfunctiontechniciansGeocoding()
69
69
{
70
-
$sql = "SELECT tech_id, fname, lname, latitude, longitude, profile_picture FROM technician WHERE latitude IS NOT NULL AND longitude IS NOT NULL";
70
+
$sql = "SELECT tech_id, fname, lname, latitude, longitude, profile_picture, address FROM technician WHERE latitude IS NOT NULL AND longitude IS NOT NULL";
0 commit comments