|
|
@ -22,7 +22,8 @@ class HumanResourceController extends Controller |
|
|
|
'name' => 'required', |
|
|
|
'name' => 'required', |
|
|
|
'ktp_number' => 'required|string|unique:m_users,ktp_number', |
|
|
|
'ktp_number' => 'required|string|unique:m_users,ktp_number', |
|
|
|
'employee_type' => 'required', |
|
|
|
'employee_type' => 'required', |
|
|
|
'company_id' => 'required' |
|
|
|
'company_id' => 'required', |
|
|
|
|
|
|
|
'username' => 'unique:m_users,username' |
|
|
|
]); |
|
|
|
]); |
|
|
|
|
|
|
|
|
|
|
|
$data = $request->all(); |
|
|
|
$data = $request->all(); |
|
|
|