Changeset 14571


Ignore:
Timestamp:
22 Feb 2017, 10:59:30 (8 years ago)
Author:
Henrik Bettermann
Message:

Specify ug pt payment category.

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

Legend:

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

    r14532 r14571  
    483483                           self.browser.contents)
    484484
    485         self.app['configuration']['2004'].payment_disabled = ['sf_pt']
     485        self.app['configuration']['2004'].payment_disabled = ['sf_ug_pt']
    486486        self.browser.getControl(name="form.p_category").value = ['schoolfee_incl']
    487487        self.browser.getControl("Create ticket").click()
  • main/waeup.aaue/trunk/src/waeup/aaue/students/utils.py

    r14544 r14571  
    194194                student.is_postgrad:
    195195                return True
    196             if 'sf_pt' in academic_session.payment_disabled and \
    197                 student.current_mode.endswith('_pt'):
     196            if 'sf_ug_pt' in academic_session.payment_disabled and \
     197                student.current_mode in ('ug_pt', 'de_pt'):
    198198                return True
    199199            if 'sf_found' in academic_session.payment_disabled and \
  • main/waeup.aaue/trunk/src/waeup/aaue/utils/utils.py

    r14544 r14571  
    193193        'sf_all': 'School Fee - All Students',
    194194        'sf_pg': 'School Fee - Postgraduate Students',
    195         'sf_pt': 'School Fee - Part-Time Students',
     195        'sf_ug_pt': 'School Fee - Undergraduate Part-Time Students',
    196196        'sf_found': 'School Fee - Foundation Students',
    197197        'maint_all': 'Accommodation Fee - All Students',
Note: See TracChangeset for help on using the changeset viewer.