fix apply the plan docs/alrahma_api_fix_plan_school_year_only_v7
API CI/CD / Validate (composer + pint) (push) Successful in 3m10s
API CI/CD / Test (PHPUnit) (push) Failing after 6m49s
API CI/CD / Build frontend assets (push) Successful in 1m3s
API CI/CD / Security audit (push) Failing after 1m0s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped
API CI/CD / Validate (composer + pint) (push) Successful in 3m10s
API CI/CD / Test (PHPUnit) (push) Failing after 6m49s
API CI/CD / Build frontend assets (push) Successful in 1m3s
API CI/CD / Security audit (push) Failing after 1m0s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped
This commit is contained in:
@@ -10,18 +10,31 @@ class ParentBalanceTransfer extends BaseModel
|
||||
'parent_id',
|
||||
'from_school_year',
|
||||
'to_school_year',
|
||||
'from_school_year_id',
|
||||
'to_school_year_id',
|
||||
'amount',
|
||||
'status',
|
||||
'source_summary_json',
|
||||
'source_summary',
|
||||
'new_invoice_id',
|
||||
'old_balance_invoice_id',
|
||||
'reversed_at',
|
||||
'reversed_by',
|
||||
'reversal_reason',
|
||||
'created_by',
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
'parent_id' => 'integer',
|
||||
'from_school_year_id' => 'integer',
|
||||
'to_school_year_id' => 'integer',
|
||||
'amount' => 'decimal:2',
|
||||
'source_summary_json' => 'array',
|
||||
'source_summary' => 'array',
|
||||
'new_invoice_id' => 'integer',
|
||||
'old_balance_invoice_id' => 'integer',
|
||||
'reversed_at' => 'datetime',
|
||||
'reversed_by' => 'integer',
|
||||
'created_by' => 'integer',
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user