add refund logic and fix books inventory logic
This commit is contained in:
@@ -35,6 +35,9 @@ class SchoolYearModel extends Model
|
||||
'registration_launch_approved_by',
|
||||
'registration_email_template_version',
|
||||
'fall_makeup_exam_on',
|
||||
'total_instructional_weeks',
|
||||
'annual_fee_includes_books',
|
||||
'withdrawal_policy_version',
|
||||
'previous_school_year_id',
|
||||
'next_school_year_id',
|
||||
'activated_at',
|
||||
@@ -65,6 +68,8 @@ class SchoolYearModel extends Model
|
||||
'registration_launch_approved_at' => 'permit_empty|valid_date[Y-m-d H:i:s]',
|
||||
'registration_launch_approved_by' => 'permit_empty|integer',
|
||||
'fall_makeup_exam_on' => 'permit_empty|valid_date[Y-m-d]',
|
||||
'total_instructional_weeks' => 'permit_empty|integer|greater_than[0]',
|
||||
'annual_fee_includes_books' => 'permit_empty|in_list[0,1]',
|
||||
];
|
||||
|
||||
public function active(): ?array
|
||||
|
||||
Reference in New Issue
Block a user