Changeset 11004
- Timestamp:
- 29 Jan 2014, 16:08:09 (11 years ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/interfaces.py
r10923 r11004 100 100 ) 101 101 102 late_fee = schema.Float( 103 title = _(u'Late Registration Fee'), 104 default = 0.0, 105 required = False, 106 ) 107 102 108 def getSessionString(): 103 109 """Returns the session string from the vocabulary. -
main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_browser.py
r10656 r11004 121 121 self.app['configuration']['2004'].booking_fee = 150.0 122 122 self.app['configuration']['2004'].maint_fee = 180.0 123 self.app['configuration']['2004'].late_fee = 80.0 123 124 124 125 # Managers can add online payment tickets … … 182 183 self.browser.open(self.payments_path + '/addop') 183 184 self.browser.getControl(name="form.p_category").value = ['clearance'] 185 self.browser.getControl("Create ticket").click() 186 self.assertMatches('...ticket created...', 187 self.browser.contents) 188 self.browser.open(self.payments_path + '/addop') 189 self.browser.getControl(name="form.p_category").value = ['late_registration'] 184 190 self.browser.getControl("Create ticket").click() 185 191 self.assertMatches('...ticket created...', -
main/waeup.aaue/trunk/src/waeup/aaue/students/utils.py
r10953 r11004 122 122 amount = academic_session.clearance_fee 123 123 p_item = student['studycourse'].certificate.code 124 elif category == 'late_registration': 125 amount = academic_session.late_fee 124 126 elif category == 'schoolfee': 125 127 try: -
main/waeup.aaue/trunk/src/waeup/aaue/utils/utils.py
r10893 r11004 38 38 'transfer': 'Transfer Fee', 39 39 'transcript': 'Transcript Fee', 40 'late_registration': 'Late Registration Fee', 40 41 } 41 42 … … 51 52 'transfer': 'Transfer Fee', 52 53 'transcript': 'Transcript Fee', 54 'late_registration': 'Late Registration Fee', 53 55 } 54 56
Note: See TracChangeset for help on using the changeset viewer.