remove codeigniter
This commit is contained in:
@@ -64,7 +64,7 @@ class Refund extends BaseModel
|
||||
|
||||
public static function paidOutStatuses(): array
|
||||
{
|
||||
// matches your CI whereIn(['Partial','Paid'])
|
||||
// matches your legacy whereIn(['Partial','Paid'])
|
||||
return [self::STATUS_PARTIAL, self::STATUS_PAID];
|
||||
}
|
||||
|
||||
@@ -110,7 +110,7 @@ class Refund extends BaseModel
|
||||
|
||||
/**
|
||||
* Total paid-out refunds for a parent in a specific school year (Partial + Paid).
|
||||
* Mirrors the CI behavior and returns 0.00 if none.
|
||||
* Mirrors the legacy behavior and returns 0.00 if none.
|
||||
*/
|
||||
public static function totalApprovedPaidOutForParentAndYear(int $parentId, string $schoolYear): float
|
||||
{
|
||||
@@ -124,7 +124,7 @@ class Refund extends BaseModel
|
||||
}
|
||||
|
||||
/**
|
||||
* Instance-style method if you want to keep a similar calling style to CI.
|
||||
* Instance-style method if you want to keep a similar calling style to legacy.
|
||||
*/
|
||||
public function getTotalApprovedRefundByParentIdAndSchoolYear(int $parentId, string $schoolYear): float
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user