Ignore:
Timestamp:
24 Mar 2019, 08:52:47 (6 years ago)
Author:
Henrik Bettermann
Message:

Disable ug_ft returning course registration.

Location:
main/waeup.aaue/trunk/src/waeup/aaue
Files:
2 edited

Legend:

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

    r15260 r15365  
    236236        self.assertTrue(
    237237            'item_name="School Fee Plus" '
    238             'item_amt="4600000" bank_id="117" '
    239             'acct_num="1010827641"' in self.browser.contents)
     238            'item_amt="4600000" bank_id="7" '
     239            'acct_num="1014847058"' in self.browser.contents)
    240240
    241241    def test_interswitch_form_regular_school_fees(self):
     
    311311        self.assertTrue(
    312312            'item_name="Acceptance Fee Plus" '
    313             'item_amt="3850000" bank_id="117" '
    314             'acct_num="1010827641"' in self.browser.contents)
     313            'item_amt="3850000" bank_id="7" '
     314            'acct_num="1014847058"' in self.browser.contents)
    315315
    316316    def test_interswitch_form_regular_acceptance_fees(self):
  • main/waeup.aaue/trunk/src/waeup/aaue/students/studylevel.py

    r15228 r15365  
    2727from zope.interface import implementedBy
    2828from waeup.kofa.utils.helpers import attrs_to_fields
    29 from waeup.kofa.interfaces import CREATED
     29from waeup.kofa.interfaces import RETURNING
    3030from waeup.kofa.students.browser import TicketError
    3131from waeup.kofa.students.studylevel import (
     
    132132
    133133        ######################################################
    134         # Temporarily disable ug_ft course registration
    135         #if self.student.current_mode == 'ug_ft':
    136         #    return _("Please check back later, course registration is not yet available.")
     134        # Temporarily disable ug_ft returning course registration
     135        if self.student.current_mode == 'ug_ft' \
     136            and self.student.state == RETURNING:
     137            return _("Course registration has been disabled.")
    137138        ######################################################
    138139
Note: See TracChangeset for help on using the changeset viewer.