remove codeigniter

This commit is contained in:
root
2026-06-04 02:41:08 -04:00
parent 4e33882ac7
commit b4e6ac03c5
180 changed files with 457 additions and 2186 deletions
+3 -3
View File
@@ -11,7 +11,7 @@ class Invoice extends BaseModel
protected $table = 'invoices';
/**
* CI: useTimestamps = false because DB defaults/triggers manage created_at/updated_at.
* legacy: useTimestamps = false because DB defaults/triggers manage created_at/updated_at.
* In Laravel, keep timestamps OFF and let DB handle them.
*/
public $timestamps = false;
@@ -67,7 +67,7 @@ class Invoice extends BaseModel
}
/* =========================
* CI beforeInsert/beforeUpdate equivalents (normalize to UTC)
* legacy beforeInsert/beforeUpdate equivalents (normalize to UTC)
* ========================= */
protected static function booted(): void
@@ -135,7 +135,7 @@ class Invoice extends BaseModel
}
/* =========================
* Queries (ported from CI)
* Queries (ported from legacy)
* ========================= */
public static function getInvoicesByUserId(int $userId, ?string $schoolYear = null): array