Ignore:
Timestamp:
1 Mar 2016, 11:31:01 (9 years ago)
Author:
Henrik Bettermann
Message:

Disable concessional fee requirement.

Location:
main/waeup.aaue/trunk/src/waeup/aaue/students
Files:
3 edited

Legend:

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

    r13753 r13755  
    444444
    445445    def test_set_matric_number(self):
    446         payment = createObject('waeup.StudentOnlinePayment')
    447         payment.p_category = u'concessional'
    448         payment.p_id = u'anyid'
    449         payment.p_state = u'paid'
    450         self.student['payments']['anykey'] = payment
     446        #payment = createObject('waeup.StudentOnlinePayment')
     447        #payment.p_category = u'concessional'
     448        #payment.p_id = u'anyid'
     449        #payment.p_state = u'paid'
     450        #self.student['payments']['anykey'] = payment
    451451        # Login as student
    452452        self.browser.open(self.login_path)
  • main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_utils.py

    r13749 r13755  
    130130        site['configuration'].next_matric_integer_3 = 1
    131131        self.student.matric_number = None
    132         msg, mnumber = utils.setMatricNumber(self.student)
    133         self.assertEqual(msg, 'Matriculation number cannot be set.')
    134         payment = createObject('waeup.StudentOnlinePayment')
    135         payment.p_category = u'concessional'
    136         payment.p_id = u'anyid'
    137         payment.p_state = u'paid'
    138         self.student['payments']['anykey'] = payment
     132        #msg, mnumber = utils.setMatricNumber(self.student)
     133        #self.assertEqual(msg, 'Matriculation number cannot be set.')
     134        #payment = createObject('waeup.StudentOnlinePayment')
     135        #payment.p_category = u'concessional'
     136        #payment.p_id = u'anyid'
     137        #payment.p_state = u'paid'
     138        #self.student['payments']['anykey'] = payment
    139139        # Regular ft students have a matric number without leading constant.
    140140        msg, mnumber = utils.setMatricNumber(self.student)
  • main/waeup.aaue/trunk/src/waeup/aaue/students/utils.py

    r13753 r13755  
    7676            student.current_mode == 'found':
    7777            return _('Matriculation number cannot be set.'), None
    78         if student.current_mode not in ('mug_ft', 'mde_ft') and \
    79             not self._concessionalPaymentMade(student):
    80             return _('Matriculation number cannot be set.'), None
     78        #if student.current_mode not in ('mug_ft', 'mde_ft') and \
     79        #    not self._concessionalPaymentMade(student):
     80        #    return _('Matriculation number cannot be set.'), None
    8181        if student.is_postgrad:
    8282            next_integer = grok.getSite()['configuration'].next_matric_integer_3
Note: See TracChangeset for help on using the changeset viewer.