Browse Source

get database

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

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

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

public function getDatabase(Request $request)
{
$work_order = WorkOrder::where('wo','WO-7154')->first();
$work_order = WorkOrder::where('wo',$request->wo)->first();
$staff = StaffDetail::where('_id', '5b026377ee0dc2b707473b5a')->first();

return $work_order;
return $work_order . $staff;
}

public function adjustInstaller(){

Loading…
Cancel
Save