Ignore:
Timestamp:
2 Oct 2018, 15:03:19 (6 years ago)
Author:
Henrik Bettermann
Message:

See ticket #513.

File:
1 edited

Legend:

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

    r15180 r15181  
    244244                library_amt = gateway_net_amt(
    245245                    academic_session.library_fee)
     246                library_amt_pg = gateway_net_amt(
     247                    academic_session.library_fee_pg)
    246248                xmldict['student_union_bank_id'] = '31'
    247249                xmldict['student_union_acct'] = '0051005007'
     
    267269                library_amt = gateway_net_amt(
    268270                    academic_session.library_fee)
     271                library_amt_pg = gateway_net_amt(
     272                    academic_session.library_fee_pg)
    269273                xmldict['student_union_bank_id'] = '7'
    270274                xmldict['student_union_acct'] = '1019763348'
     
    293297                xmldict['student_welfare_assurance_amt'] = 100 * student_welfare_assurance_amt
    294298                xmldict['sports_amt'] = 100 * sports_amt
    295                 xmldict['library_amt'] = 100 * library_amt
     299                if student.is_postgrad:
     300                    xmldict['library_amt'] = 100 * library_amt_pg
     301                else:
     302                    xmldict['library_amt'] = 100 * library_amt
    296303                xmldict['institution_amt'] = 100 * (
    297304                    gateway_net_amt(self.context.amount_auth)
Note: See TracChangeset for help on using the changeset viewer.