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