remove codeigniter
This commit is contained in:
@@ -9,7 +9,7 @@ class EventCharges extends BaseModel
|
||||
{
|
||||
protected $table = 'event_charges';
|
||||
|
||||
// ✅ CI: useTimestamps = true (created_at/updated_at)
|
||||
// ✅ legacy: useTimestamps = true (created_at/updated_at)
|
||||
public $timestamps = true;
|
||||
|
||||
protected $fillable = [
|
||||
@@ -66,7 +66,7 @@ class EventCharges extends BaseModel
|
||||
}
|
||||
|
||||
/**
|
||||
* Equivalent of CI getChargesWithEventInfo()
|
||||
* Equivalent of legacy getChargesWithEventInfo()
|
||||
* Returns rows with: event_charges.*, events.event_name, events.amount
|
||||
*/
|
||||
public static function getChargesWithEventInfo(?int $parentId = null, ?string $schoolYear = null, ?string $semester = null): array
|
||||
|
||||
Reference in New Issue
Block a user