One Hat Cyber Team
Your IP :
18.188.65.136
Server IP :
192.145.235.60
Server :
Linux ngx365.inmotionhosting.com 5.14.0-427.33.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 30 09:45:56 EDT 2024 x86_64
Server Software :
Apache
PHP Version :
8.2.27
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
centos12
/
www
/
centosuit
/
app
/
Imports
/
View File Name :
AttendanceImport.php
<?php namespace App\Imports; use Maatwebsite\Excel\Concerns\ToArray; class AttendanceImport implements ToArray { public static function fields(): array { return array( array('id' => 'email', 'name' => __('app.email'), 'required' => 'Yes'), array('id' => 'clock_in_time', 'name' => __('modules.attendance.clock_in'), 'required' => 'Yes'), array('id' => 'clock_out_time', 'name' => __('modules.attendance.clock_out'), 'required' => 'No'), array('id' => 'clock_in_ip', 'name' => __('modules.attendance.clock_in_ip'), 'required' => 'No'), array('id' => 'clock_out_ip', 'name' => __('modules.attendance.clock_out_ip'), 'required' => 'No'), array('id' => 'working_from', 'name' => __('modules.attendance.working_from'), 'required' => 'No'), array('id' => 'late', 'name' => __('modules.attendance.late'), 'required' => 'No'), array('id' => 'half_day', 'name' => __('modules.attendance.halfDay'), 'required' => 'No'), ); } public function array(array $array): array { return $array; } }