瀏覽代碼

get all wo with null status

hajar
Siti Hajar Ibrahim 5 年之前
父節點
當前提交
9cfe34d4c2
共有 1 個檔案被更改,包括 1 行新增3 行删除
  1. 1
    3
      app/Http/Controllers/Controller.php

+ 1
- 3
app/Http/Controllers/Controller.php 查看文件

@@ -149,9 +149,7 @@ class Controller extends BaseController

public function getDatabase()
{
$wo = WorkOrder::where('wo','WO-15141')->first();
$wo->status = "Pending Contractor";
$wo->save();
$wo = WorkOrder::where('status','')->get();

return $wo;
}

Loading…
取消
儲存