- Timestamp:
- 15 Jan 2013, 15:14:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.futminna/trunk/src/waeup/futminna/students/utils.py
r9888 r9889 149 149 p_item = self.getAccommodationDetails(student)['bt'] 150 150 amount = academic_session.booking_fee 151 if 9999.0 in (academic_session.penalty_pg, academic_session.penalty_ug): 152 return _('School fee payment disabled.'), None 151 153 if amount in (0.0, None): 152 154 return _('Amount could not be determined.'), None … … 160 162 # Add session specific penalty fee. 161 163 if category == 'schoolfee' and student.is_postgrad: 162 if academic_session.penalty_pg == 9999.0: 163 amount = 0.0 164 else: 165 amount += academic_session.penalty_pg 164 amount += academic_session.penalty_pg 166 165 elif category == 'schoolfee': 167 if academic_session.penalty_ug == 9999.0: 168 amount = 0.0 169 else: 170 amount += academic_session.penalty_ug 166 amount += academic_session.penalty_ug 171 167 payment = createObject(u'waeup.StudentOnlinePayment') 172 168 timestamp = ("%d" % int(time()*10000))[1:]
Note: See TracChangeset for help on using the changeset viewer.