Ignore:
Timestamp:
10 Feb 2017, 17:17:07 (8 years ago)
Author:
Henrik Bettermann
Message:

Reduce number of payment categories for pg students.

File:
1 edited

Legend:

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

    r14532 r14533  
    210210        }
    211211
    212     IJMBE_PAYMENT_CATS =  {
     212    REDUCED_PAYMENT_CATS =  {
    213213        'clearance': 'Acceptance Fee',
    214214        'schoolfee': 'School Fee',
     
    219219        if 'alumni' in self.application_url():
    220220            return self.ALUMNI_PAYMENT_CATS.items()
    221         if self.context.student.current_mode == 'ijmbe':
    222             return self.IJMBE_PAYMENT_CATS.items()
     221        if self.context.student.current_mode in (
     222            'ijmbe', 'special_pg_ft', 'special_pg_pt') :
     223            return self.REDUCED_PAYMENT_CATS.items()
    223224        categories = getUtility(IKofaUtils).SELECTABLE_PAYMENT_CATEGORIES
    224225        return sorted(categories.items())
Note: See TracChangeset for help on using the changeset viewer.