Changeset 16461 for main/waeup.fceokene/trunk/src/waeup
- Timestamp:
- 15 Apr 2021, 10:01:13 (4 years ago)
- Location:
- main/waeup.fceokene/trunk/src/waeup/fceokene
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.fceokene/trunk/src/waeup/fceokene/students/utils.py
r16011 r16461 134 134 else: 135 135 amount = 7938 136 elif category == 'schoolfee': 136 elif category.startswith('schoolfee'): 137 if category == 'schoolfee_pde1': 138 if not student.current_mode.startswith('nce'): 139 return _('You are not an NCE student.'), None 140 if student.state != CLEARED: 141 return _('You are not a fresh student.'), None 137 142 p_item = student.certcode 138 143 if not p_item: … … 146 151 elif student.current_mode == 'pd_ft' and student.state == CLEARED: 147 152 amount = 70000 153 if category == 'schoolfee_pde1': 154 amount = 40000 148 155 # PDE 149 156 elif student.current_mode == 'pd_ft': -
main/waeup.fceokene/trunk/src/waeup/fceokene/utils/utils.py
r15435 r16461 86 86 PAYMENT_CATEGORIES = { 87 87 'schoolfee': 'School Fee', 88 'schoolfee_pde1': 'School Fee 1st instalment (new PDE students only)', 88 89 'clearance': 'Acceptance Fee', 89 90 'bed_allocation': 'Bed Allocation Fee', 90 91 'hostel_maintenance': 'Hostel Maintenance Fee', 91 #'transfer': 'Transfer Fee',92 #'gown': 'Gown Hire Fee',93 92 'application': 'Application Fee', 94 #'transcript': 'Transcript Fee',95 93 'third_semester': 'NCE Third Semester Fee', 96 94 }
Note: See TracChangeset for help on using the changeset viewer.