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
+4 -3
View File
@@ -13,19 +13,20 @@ class Staff extends BaseModel
/**
* CI: timestamps managed manually (created_at/updated_at set by caller/controller)
*/
public $timestamps = true;
public $timestamps = false;
protected $fillable = [
'user_id',
'firstname',
'lastname',
'email',
'phone',
'role_name',
'school_year',
'active_role',
'status',
'school_year',
'created_at',
'updated_at',
'user_id',
];
protected $casts = [