Changeset 14888
- Timestamp:
- 1 Nov 2017, 17:03:53 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/remita/browser.py
r14876 r14888 131 131 provider_amt = self.dynamic_provider_amt(self.context.student) 132 132 inst_amt = self.context.amount_auth - provider_amt 133 if self.context.student.faccode == 'JUPEB': 133 if self.context.student.faccode == 'JUPEB' \ 134 or self.context.student.current_mode == 'dp_ft': 134 135 inst_acct = "0040217361038" 135 136 else: … … 224 225 def lineitems(self): 225 226 provider_amt = 1000.0 227 if self.context.__parent__.applicant_id.startswith('dp'): 228 inst_acct = "0040217361038" 229 else: 230 inst_acct = "0040217361011" 226 231 #if self.context.__parent__.applicant_id.startswith('cbt'): 227 232 # provider_amt = 200.0 … … 229 234 lineitems = ( 230 235 {"lineItemsId":"itemid1","beneficiaryName":"Uniben", 231 "beneficiaryAccount": "0040217361011","bankCode":"000",236 "beneficiaryAccount":inst_acct,"bankCode":"000", 232 237 "beneficiaryAmount":inst_amt,"deductFeeFrom":"1"}, 233 238 {"lineItemsId":"itemid2","beneficiaryName":"WAeAC",
Note: See TracChangeset for help on using the changeset viewer.