Ignore:
Timestamp:
20 Feb 2020, 13:06:08 (5 years ago)
Author:
Henrik Bettermann
Message:

Make the Third Semester fee ticket only active to those who have paid School fees for NCE 3.

Do not deduct WAEAC charge from third semester payments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.fceokene/trunk/src/waeup/fceokene/students/tests/test_browser.py

    r15989 r16008  
    289289
    290290        error, payment = utils.setPaymentDetails('third_semester',self.student)
     291        self.assertEqual(error, u'Make NCE 3 school fee payment first.')
     292        payment = createObject('waeup.StudentOnlinePayment')
     293        payment.p_category = u'schoolfee'
     294        payment.p_session = self.student.current_session
     295        payment.p_item = u'My Certificate'
     296        payment.p_id = u'anyid'
     297        self.student['payments']['anykey'] = payment
     298        payment.p_state = 'paid'
     299        payment.p_level = 300
     300        error, payment = utils.setPaymentDetails('third_semester',self.student)
    291301        self.assertEqual(payment.p_level, 100)
    292302        self.assertEqual(payment.p_session, 2004)
Note: See TracChangeset for help on using the changeset viewer.