Selaa lähdekoodia

get database

allo_data_retrieve^2
Siti Hajar Ibrahim 5 vuotta sitten
vanhempi
commit
357400335d
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      app/Http/Controllers/Controller.php

+ 1
- 1
app/Http/Controllers/Controller.php Näytä tiedosto

@@ -159,7 +159,7 @@ class Controller extends BaseController
}

public function adjustInstaller(){
$wo = WorkOrder::where('installer_id', '5f6aa0b1a1f29b68be7bd650')->where('status', 'like', '%Pending%')->get();
$wo = WorkOrder::where('installer_id', '5ed8c5cea1f29b0d7b4c1906')->where('status', 'like', '%Pending%')->get();
foreach ($wo as $w) {
$w->status = "Pending Contractor";
$w->installer_id = "";

Loading…
Peruuta
Tallenna