update controllers logic

This commit is contained in:
root
2026-04-23 00:04:35 -04:00
parent 1977a513df
commit ca4ba272fc
353 changed files with 13402 additions and 1301 deletions
Executable → Regular
+5 -1
View File
@@ -13,12 +13,16 @@ class AttendanceDay extends BaseModel
// ✅ You are storing created_at / updated_at manually in CI (timestamps off there)
// User didn't explicitly ask to auto-manage here, so we keep it OFF to match CI.
// If you want auto-manage, tell me and Ill flip it.
public $timestamps = true;
public $timestamps = false;
protected $fillable = [
'class_section_id',
'date',
'status',
'draft',
'submitted',
'published',
'finalized',
'submitted_by',
'submitted_at',
'published_by',