update controllers logic
This commit is contained in:
Executable → Regular
+5
-1
@@ -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 I’ll 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',
|
||||
|
||||
Reference in New Issue
Block a user