init backend presensi

This commit is contained in:
mwpn
2026-03-05 14:37:36 +07:00
commit b4fda6b9c9
319 changed files with 27261 additions and 0 deletions

28
app/Config/Attendance.php Normal file
View 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;
}