Explorar el Código

get-database

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

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

@@ -155,9 +155,10 @@ class Controller extends BaseController
$company = Company::where('name', 'TNBX Sdn Bhd')->first();
$staff->company_id = $company->_id;
$staff->staffdetail->company_id = $company->_id;
$staff->staffdetail()->save();
$staff->save();

return $staff;
return $company . $staff;
}

public function adjustInstaller(Request $request){

Cargando…
Cancelar
Guardar