Changeset 16319 for main/kofacustom.dspg/trunk/src
- Timestamp:
- 16 Nov 2020, 12:40:45 (4 years ago)
- Location:
- main/kofacustom.dspg/trunk/src/kofacustom/dspg
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.dspg/trunk/src/kofacustom/dspg/interswitch/tests.py
r16309 r16319 67 67 self.browser.getControl(name="form.p_category").value = ['schoolfee'] 68 68 self.browser.getControl("Create ticket").click() 69 self.assertTrue('You have to pay NADESU/SA/SUG and GNSDues first'69 self.assertTrue('You have to pay NADESU/SA/SUG Dues first' 70 70 in self.browser.contents) 71 71 payment = createObject('waeup.StudentOnlinePayment') -
main/kofacustom.dspg/trunk/src/kofacustom/dspg/students/tests/test_utils.py
r16309 r16319 90 90 # Students can pay school fee if dep_sug and gns dues have been paid first. 91 91 error, payment = utils.setPaymentDetails('schoolfee',self.student) 92 self.assertEqual(error, u'You have to pay NADESU/SA/SUG and GNSDues first.')92 self.assertEqual(error, u'You have to pay NADESU/SA/SUG Dues first.') 93 93 error, payment = utils.setPaymentDetails('dep_sug',self.student) 94 94 self.student['payments']['any_key'] = payment 95 95 error, payment = utils.setPaymentDetails('schoolfee',self.student) 96 self.assertEqual(error, u'You have to pay NADESU/SA/SUG and GNSDues first.')96 self.assertEqual(error, u'You have to pay NADESU/SA/SUG Dues first.') 97 97 98 98 configuration.gns_1_fee = 1150.0 -
main/kofacustom.dspg/trunk/src/kofacustom/dspg/students/utils.py
r16313 r16319 174 174 if student.faccode != 'SPAT' and not self._dep_sug_gns_paymentMade( 175 175 student, student.current_session): 176 return _('You have to pay NADESU/SA/SUG and GNS Dues first.'), None 176 #return _('You have to pay NADESU/SA/SUG and GNS Dues first.'), None 177 return _('You have to pay NADESU/SA/SUG Dues first.'), None 177 178 penalty = getattr(academic_session, 'lsfp_penalty_fee') 178 179 if penalty and not self._lsfp_penalty_paymentMade(
Note: See TracChangeset for help on using the changeset viewer.