/home/techb158/ileadtechnology.com/SSM/app/Http/Requests/employee
Edit: /home/techb158/ileadtechnology.com/SSM/app/Http/Requests/employee/EmployeeDesignationRequest.php (1161B)
'required|date',
'designation_id' => 'required',
'remarks' => 'required|min:20'
];
}
/**
* Translate fields with user friendly name.
*
* @return array
*/
public function attributes()
{
return [
'date_effective' => trans('employee.date_effective'),
'designation_id' => trans('employee.designation'),
'remarks' => trans('employee.remarks')
];
}
/**
* Get the error messages for the defined validation rules.
*
* @return array
*/
public function messages()
{
return [];
}
}