whoami7 - Manager
:
/
home
/
kckglobal
/
www
/
portal
/
app
/
Http
/
Requests
/
TimeLogs
/
Upload File:
files >> //home/kckglobal/www/portal/app/Http/Requests/TimeLogs/StartTimer.php
<?php namespace App\Http\Requests\TimeLogs; use App\Http\Requests\CoreRequest; class StartTimer extends CoreRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Get the validation rules that apply to the request. * * @return array */ public function rules() { return [ 'task_id' => 'required_without:create_task', 'memo' => 'required_without:task_id' ]; } public function messages() { return [ 'task_id.required_without' => __('messages.fieldBlank'), ]; } }
Copyright ©2021 || Defacer Indonesia