Login logout handled : GWM

This commit is contained in:
Gowtham M 2025-10-13 16:59:00 +05:30
parent e7461a54c0
commit 5b01cdae83

View File

@ -4,7 +4,7 @@ use CodeIgniter\Model;
class StaffAttendanceModel extends Model class StaffAttendanceModel extends Model
{ {
protected $table = 'staff_attendance'; protected $table = 'partner_staff_attendance';
protected $primaryKey = 'id'; protected $primaryKey = 'id';
protected $returnType = 'array'; protected $returnType = 'array';
protected $allowedFields = ['staff_id', 'login_datetime', 'logout_datetime']; protected $allowedFields = ['staff_id', 'login_datetime', 'logout_datetime'];