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
+4 -6
View File
@@ -9,16 +9,14 @@ class EmailTemplate extends BaseModel
protected $table = 'email_templates';
// CI model didn't specify timestamps; keep off unless your table has created_at/updated_at.
public $timestamps = false;
public $timestamps = true;
protected $fillable = [
'code',
'variant',
'template_key',
'name',
'subject',
'body_html',
'body',
'is_active',
'updated_by',
'updated_at',
];
protected $casts = [