Browse Source

get database

hajar
Siti Hajar Ibrahim 4 years ago
parent
commit
2afe97973a
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

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

return $work_order;
}

Loading…
Cancel
Save