Преглед на файлове

get database

allo_data_retrieve^2
Siti Hajar Ibrahim преди 4 години
родител
ревизия
6e4e2ea94e
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1
    1
      app/Http/Controllers/Controller.php

+ 1
- 1
app/Http/Controllers/Controller.php Целия файл

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

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

Loading…
Отказ
Запис