Changeset 14691 for main


Ignore:
Timestamp:
14 Jun 2017, 05:20:25 (7 years ago)
Author:
Henrik Bettermann
Message:

Add pay item ids for JUBEP payments.

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

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/src/waeup/uniben/applicants/utils.py

    r14162 r14691  
    4848        'pgd': ['Postgraduate Programmes (4th supplementary advert)', 'PG'],
    4949        'pgn': ['NILS Postgraduate Programmes', 'PG'],
    50         'pre': ['Pre-Degree Studies', 'PRE'],
     50        'pre': ['JUPEB Pre-Degree (Foundation) Studies', 'PRE'],
    5151        'cbt': ['UNIBEN CBT Practice Test', 'CBT'],
    5252        'ab': ['Asaba Programmes', 'ASA'],
  • main/waeup.uniben/trunk/src/waeup/uniben/interswitch/browser.py

    r14690 r14691  
    9999        elif self.context.p_category == 'clearance':
    100100            self.pay_item_id = '5702'
     101            if student.faccode == 'JUPEB':
     102                self.pay_item_id = '5722'
    101103            provider_amt = self.dynamic_provider_amt(student)
    102104        elif self.context.p_category == 'gown':
     
    161163            xmldict['institution_acct'] = 1014774176
    162164            xmldict['institution_bank_id'] = 117
     165        if self.applicant.applicant_id.startswith('pre'):
     166            self.pay_item_id = '5721'
    163167        xmldict['detail_ref'] = self.context.p_id
    164168        xmldict['provider_amt'] = 100 * provider_amt
Note: See TracChangeset for help on using the changeset viewer.