Changeset 15301 for main/kofacustom.edopoly
- Timestamp:
- 18 Jan 2019, 08:51:24 (6 years ago)
- Location:
- main/kofacustom.edopoly/trunk/src/kofacustom/edopoly
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.edopoly/trunk/src/kofacustom/edopoly/interswitch/tests.py
r15105 r15301 62 62 self.browser.getControl("Create ticket").click() 63 63 self.assertTrue( 64 'Pay ICT , Logbook and SIWESSfee(s) first.' in self.browser.contents)64 'Pay ICT and Logbook fee(s) first.' in self.browser.contents) 65 65 66 66 # Add required payments first. -
main/kofacustom.edopoly/trunk/src/kofacustom/edopoly/students/utils.py
r15284 r15301 89 89 90 90 def _requiredPaymentsMade(self, student, session): 91 req_payments = ('ict_entre', 'logbook_combo', 'siwess_combo') 92 req_payments_titles = 'ICT, Logbook and SIWESS' 91 # SIWESS fee requirement removed on 18/01/2019 92 req_payments = ('ict_entre', 'logbook_combo') 93 req_payments_titles = 'ICT and Logbook' 93 94 if len(student['payments']): 94 # All ND and HND ofpart time do not pay LOGBOOK95 # All ND and HND part time do not pay LOGBOOK 95 96 if student.current_mode.endswith('_pt'): 96 req_payments = ('ict_entre', 'siwess_combo')97 req_payments_titles = 'ICT and SIWESS'97 req_payments = ('ict_entre',) 98 req_payments_titles = 'ICT' 98 99 # HND2 full time do not pay for SIWES 99 elif student.current_mode == 'hnd_ft' and student.state == RETURNING:100 req_payments = ('ict_entre', 'logbook_combo')101 req_payments_titles = 'ICT and Logbook'102 # HND1 full time do not pay both SIWES andLOGBOOK100 #elif student.current_mode == 'hnd_ft' and student.state == RETURNING: 101 # req_payments = ('ict_entre', 'logbook_combo') 102 # req_payments_titles = 'ICT and Logbook' 103 # HND1 full time do not pay both LOGBOOK 103 104 elif student.current_mode == 'hnd_ft' and student.state == CLEARED: 104 105 req_payments = ('ict_entre',) … … 106 107 # ND2 FULL TIME Do not pay LOGBOOK 107 108 elif student.current_mode == 'nd_ft' and student.state == RETURNING: 108 req_payments = ('ict_entre', 'siwess_combo')109 req_payments_titles = 'ICT and SIWESS'109 req_payments = ('ict_entre',) 110 req_payments_titles = 'ICT' 110 111 # ND1 full time do not pay SIWES 111 elif student.current_mode == 'nd_ft' and student.state == CLEARED:112 req_payments = ('ict_entre', 'logbook_combo')113 req_payments_titles = 'ICT and Logbook'112 #elif student.current_mode == 'nd_ft' and student.state == CLEARED: 113 # req_payments = ('ict_entre', 'logbook_combo') 114 # req_payments_titles = 'ICT and Logbook' 114 115 num = 0 115 116 for ticket in student['payments'].values():
Note: See TracChangeset for help on using the changeset viewer.