Explorar el Código

get database

allo_data_retrieve^2
Siti Hajar Ibrahim hace 5 años
padre
commit
0256cd268d
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. 3
    2
      app/Http/Controllers/Controller.php

+ 3
- 2
app/Http/Controllers/Controller.php Ver fichero

@@ -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(){

Cargando…
Cancelar
Guardar