whoami7 - Manager
:
/
home
/
kckglobal
/
www
/
portal
/
app
/
Http
/
Requests
/
Attendance
/
Upload File:
files >> //home/kckglobal/www/portal/app/Http/Requests/Attendance/StoreAttendance.php
<?php namespace App\Http\Requests\Attendance; use App\Http\Requests\CoreRequest; class StoreAttendance 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 [ 'clock_in_time' => 'required', 'clock_in_ip' => 'required|ip', 'clock_out_ip' => 'ip', 'working_from' => 'required_if:work_from_type,==,other' ]; } }
Copyright ©2021 || Defacer Indonesia