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
@@ -10,7 +10,7 @@ class Payment extends BaseModel
protected $table = 'payments';
/**
* CI: useTimestamps = false because DB handles created_at/updated_at (defaults/triggers).
* legacy: useTimestamps = false because DB handles created_at/updated_at (defaults/triggers).
* Keep OFF in Laravel too.
*/
public $timestamps = false;
@@ -58,7 +58,7 @@ class Payment extends BaseModel
}
/* =========================
* CI method equivalents
* legacy method equivalents
* ========================= */
public static function getPaymentsByParentId(int $parentId): array
@@ -135,7 +135,7 @@ class Payment extends BaseModel
/**
* Get latest payment (date/amount/status) per invoice for given invoice IDs.
* Matches your CI logic: statuses in ['Full','Paid','Partially Paid'].
* Matches your legacy logic: statuses in ['Full','Paid','Partially Paid'].
*/
public static function getPaymentsByInvoice($invoiceIds): array
{