Ignore:
Timestamp:
23 Oct 2017, 11:14:04 (7 years ago)
Author:
Henrik Bettermann
Message:

Change bank account number for all JUPEB payments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/src/waeup/uniben/remita/browser.py

    r14852 r14872  
    131131            provider_amt = self.dynamic_provider_amt(self.context.student)
    132132        inst_amt = self.context.amount_auth - provider_amt
     133        if self.context.faccode == 'JUPEB':
     134            inst_acct = "0040217361038"
     135        else:
     136            inst_acct = "0040217361011"
    133137        if provider_amt:
    134138            lineitems = (
    135139                          {"lineItemsId":"itemid1","beneficiaryName":"Uniben",
    136                           "beneficiaryAccount":"0040217361011","bankCode":"000",
     140                          "beneficiaryAccount":inst_acct,"bankCode":"000",
    137141                          "beneficiaryAmount":inst_amt,"deductFeeFrom":"1"},
    138142                          {"lineItemsId":"itemid2","beneficiaryName":"WAeAC",
     
    143147            lineitems = (
    144148                          {"lineItemsId":"itemid1","beneficiaryName":"Uniben",
    145                           "beneficiaryAccount":"0040217361011","bankCode":"000",
     149                          "beneficiaryAccount":inst_acct,"bankCode":"000",
    146150                          "beneficiaryAmount":inst_amt,"deductFeeFrom":"1"},
    147151                        )
Note: See TracChangeset for help on using the changeset viewer.