소스 검색

get-database

allo_data_retrieve^2
Siti Hajar Ibrahim 4 년 전
부모
커밋
c9c8786eac
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2
    1
      app/Http/Controllers/Controller.php

+ 2
- 1
app/Http/Controllers/Controller.php 파일 보기

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

Loading…
취소
저장