Changeset 15002 for main/waeup.uniben/trunk/src/waeup
- Timestamp:
- 9 May 2018, 07:49:16 (7 years ago)
- Location:
- main/waeup.uniben/trunk/src/waeup/uniben
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/interfaces.py
r14757 r15002 45 45 46 46 booking_fee = schema.Float( 47 title = _(u' Booking Fee'),47 title = _(u'UG Booking Fee (+ N500 PG)'), 48 48 default = 0.0, 49 49 required = False, -
main/waeup.uniben/trunk/src/waeup/uniben/students/tests/test_browser.py
r14902 r15002 685 685 self.assertEqual(payment.p_level, 100) 686 686 self.assertEqual(payment.p_session, 2004) 687 self.assertEqual(payment.amount_auth, 150.0)687 self.assertEqual(payment.amount_auth, 650.0) 688 688 self.assertEqual(payment.p_item, u'pg_male_all') 689 689 self.assertEqual(error, None) -
main/waeup.uniben/trunk/src/waeup/uniben/students/utils.py
r14970 r15002 234 234 p_item = self.getAccommodationDetails(student)['bt'] 235 235 amount = academic_session.booking_fee 236 # Add student union dues 237 #if not student.is_postgrad: 238 # stage = self.getAccommodationDetails(student)['bt'] 239 # stage = stage.split('_')[2] 240 # if stage == 'fr': 241 # amount += 500.0 242 # elif stage in ('fi', 're') and student[ 243 # 'studycourse'].previous_verdict in ( 244 # 'A', 'B', 'F', 'J', 'M', 'C', 'Z'): 245 # amount += 300.0 246 # else: 247 # amount = 0.0 236 if student.is_postgrad: 237 amount += 500 248 238 elif category == 'hostel_maintenance': 249 239 amount = 0.0
Note: See TracChangeset for help on using the changeset viewer.