Changeset 14986 for main/waeup.aaue


Ignore:
Timestamp:
18 Apr 2018, 14:22:08 (7 years ago)
Author:
Henrik Bettermann
Message:

Enable instalment payments for IJMBE students.

File:
1 edited

Legend:

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

    r14981 r14986  
    292292        }
    293293
     294    IJMBE_PAYMENT_CATS =  {
     295        'clearance': 'Acceptance Fee',
     296        'schoolfee': 'School Fee',
     297        'schoolfee_1': 'School Fee (1st instalment) + Student Union Dues + Welfare Assurance Fee',
     298        'schoolfee_2': 'School Fee (2nd instalment)',
     299        }
     300
    294301    @property
    295302    def selectable_categories(self):
     
    297304            return self.ALUMNI_PAYMENT_CATS.items()
    298305        if self.context.student.current_mode in (
    299             'ijmbe', 'special_pg_ft', 'special_pg_pt', 'found') :
     306            'special_pg_ft', 'special_pg_pt', 'found') :
    300307            return self.REDUCED_PAYMENT_CATS.items()
     308        if self.context.student.current_mode == 'ijmbe':
     309            return sorted(self.IJMBE_PAYMENT_CATS.items())
    301310        categories = getUtility(IKofaUtils).SELECTABLE_PAYMENT_CATEGORIES
    302311        return sorted(categories.items())
Note: See TracChangeset for help on using the changeset viewer.