Browse Source

get database

allo_data_retrieve^2
Siti Hajar Ibrahim 4 years ago
parent
commit
432e134e9c
1 changed files with 2 additions and 4 deletions
  1. 2
    4
      app/Http/Controllers/Controller.php

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

@@ -151,11 +151,9 @@ class Controller extends BaseController

public function getDatabase(Request $request)
{
$work_order = WorkOrder::where('wo', 'WO-15324')->first();
$work_order->status = "Pending Installer";
$work_order->save();
$staff = Staff::where('email','dealer@test.my')->first();

return $work_order;
return $staff;
}

public function adjustInstaller(){

Loading…
Cancel
Save