- Timestamp:
- 11 Feb 2016, 10:45:59 (9 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
r13525 r13678 49 49 ) 50 50 51 clearance_fee_pt = schema.Float( 52 title = _(u'PT Acceptance Fee'), 51 clearance_fee_pg = schema.Float( 52 title = _(u'FT PG Acceptance Fee'), 53 default = 0.0, 54 required = True, 55 ) 56 57 clearance_fee_ug_pt = schema.Float( 58 title = _(u'PT UG Acceptance Fee'), 59 default = 0.0, 60 required = True, 61 ) 62 63 clearance_fee_pg_pt = schema.Float( 64 title = _(u'PT PG Acceptance Fee'), 53 65 default = 0.0, 54 66 required = True, … … 57 69 clearance_fee_med = schema.Float( 58 70 title = _(u'Medical Acceptance Fee'), 59 default = 0.0,60 required = True,61 )62 63 clearance_fee_pg = schema.Float(64 title = _(u'Postgraduate Acceptance Fee'),65 71 default = 0.0, 66 72 required = True, -
main/waeup.aaue/trunk/src/waeup/aaue/interswitch/tests.py
r13652 r13678 197 197 def test_interswitch_form_pt_acceptance_fees(self): 198 198 self.certificate.study_mode = 'ug_pt' 199 self.app['configuration']['2004'].clearance_fee_ pt = 40250.0199 self.app['configuration']['2004'].clearance_fee_ug_pt = 40250.0 200 200 self.app['configuration']['2004'].matric_gown_fee = 2000.0 201 201 self.app['configuration']['2004'].lapel_fee = 800.0 -
main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_browser.py
r13647 r13678 549 549 550 550 self.certificate.study_mode = 'special_pg_ft' 551 self.student.matric_number = u'AAU/SPS/FLW/LAW/15/PHD/09504' 551 552 self.browser.open(self.student_path + '/studycourse/100') 552 553 self.browser.getLink("Download course registration slip").click() -
main/waeup.aaue/trunk/src/waeup/aaue/students/utils.py
r13664 r13678 174 174 amount = academic_session.clearance_fee_fp 175 175 elif student.current_mode.endswith('_pt'): 176 amount = academic_session.clearance_fee_pt 176 if student.is_postgrad: 177 amount = academic_session.clearance_fee_pg_pt 178 else: 179 amount = academic_session.clearance_fee_ug_pt 177 180 elif student.faccode == 'FCS': 178 181 # Students in clinical medical sciences pay the medical 179 182 # acceptance fee 180 183 amount = academic_session.clearance_fee_med 181 elif student.is_postgrad: 184 elif student.is_postgrad: # and not part-time 182 185 amount = academic_session.clearance_fee_pg 183 186 else:
Note: See TracChangeset for help on using the changeset viewer.