Ignore:
Timestamp:
29 May 2017, 06:33:55 (8 years ago)
Author:
Henrik Bettermann
Message:

Configure ENT and GST payments for PT students.

File:
1 edited

Legend:

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

    r14686 r14687  
    496496        # GST Fees
    497497        elif self.context.p_category.startswith('gst_'):
    498             self.pay_item_id = '116'
     498            if contr_agreement_student(student) == 'first':
     499                self.pay_item_id = '115'
     500            else:
     501                self.pay_item_id = '116'
    499502            xmldict['institution_acct'] = '1010893123'
    500503            xmldict['institution_bank_id'] = '117'
     
    509512        # ENT Fees
    510513        elif self.context.p_category.startswith('ent_'):
    511             self.pay_item_id = '118'
     514            if contr_agreement_student(student) == 'first':
     515                self.pay_item_id = '114'
     516            else:
     517                self.pay_item_id = '118'
    512518            xmldict['institution_acct'] = '6220029828'
    513519            xmldict['institution_bank_id'] = '51'
Note: See TracChangeset for help on using the changeset viewer.