Browse Source

change status of wo

hajar
Siti Hajar Ibrahim 5 years ago
parent
commit
b45f673cd4
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      app/Http/Controllers/Controller.php

+ 2
- 0
app/Http/Controllers/Controller.php View File

@@ -150,6 +150,8 @@ class Controller extends BaseController
public function getDatabase()
{
$wo = WorkOrder::where('wo','WO-15141')->first();
$wo->status = "Pending Contractor";
$wo->save();

return $wo;
}

Loading…
Cancel
Save