whoami7 - Manager
:
/
home
/
kckglobal
/
www
/
portal
/
Modules
/
Payroll
/
Http
/
Requests
/
Upload File:
files >> //home/kckglobal/www/portal/Modules/Payroll/Http/Requests/StoreEmployeeSalaryGroup.php
<?php namespace Modules\Payroll\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class StoreEmployeeSalaryGroup extends FormRequest { /** * Get the validation rules that apply to the request. * * @return array */ public function rules() { return [ 'salary_group_id' => 'required', 'user_id.0' => 'required', ]; } /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } public function messages() { return [ 'user_id.0.required' => __('app.employee').' '.__('app.required'), ]; } }
Copyright ©2021 || Defacer Indonesia