You found a repository on GitHub called absensi-karyawan-free. Now what? Follow this generic guide.
Indonesian law: Overtime hour 1 = 1.5x, subsequent hours = 2x. In your GitHub script, modify the overtime module: absensi karyawan github free
if($overtime_hours <= 1)
$lembur_rate = 1.5 * $hourly_rate;
else
$lembur_rate = (1.5 * $hourly_rate) + (($overtime_hours - 1) * 2 * $hourly_rate);
To automatically mark absent employees after 6:00 PM, you need a cron job: To automatically mark absent employees after 6:00 PM,
* * * * * php /path-to-your-project/artisan schedule:run >> /dev/null 2>&1
On free hosting like Koyeb or Render, use their "Cron Job" feature. On free hosting like Koyeb or Render, use
Visit http://your-app.com/login. Login as Admin. Create a few test employees. Print their QR codes. Scan using your phone camera. Check the dashboard.
Western scripts assume Saturday/Sunday off. In Indonesia, the work week is often Monday-Friday or Monday-Thursday (for some daerah). Find the isWeekend() function and adjust the date('N') logic.