init backend presensi
This commit is contained in:
28
app/Config/Attendance.php
Normal file
28
app/Config/Attendance.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace Config;
|
||||
|
||||
use CodeIgniter\Config\BaseConfig;
|
||||
|
||||
/**
|
||||
* Attendance configuration
|
||||
*
|
||||
* Attendance window: check-in is only allowed from (schedule start - open_before)
|
||||
* until (schedule start + close_after). Outside this window → ABSENCE_WINDOW_CLOSED (no insert).
|
||||
*/
|
||||
class Attendance extends BaseConfig
|
||||
{
|
||||
/**
|
||||
* Minutes before schedule start_time when attendance opens
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public int $attendanceOpenBeforeMinutes = 5;
|
||||
|
||||
/**
|
||||
* Minutes after schedule start_time when attendance closes
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public int $attendanceCloseAfterMinutes = 15;
|
||||
}
|
||||
Reference in New Issue
Block a user