- Timestamp:
- 7 Jul 2025, 09:53:18 (11 hours ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/remita/browser.py
r18039 r18107 154 154 reduced_inst_amt = 0.0 155 155 lab_amt = 0.0 156 if self.context.student.is_postgrad: 157 inst_acct = "3000151027" 156 158 if self.context.p_category in ('schoolfee', 'schoolfee_1'): 157 159 provider_amt = self.dynamic_provider_amt(self.context.student) … … 182 184 "beneficiaryAmount":student_union,"deductFeeFrom":"0"},) 183 185 186 ## Disabled on 07/07/25 184 187 # We overwrite linetems in case of postgrad student school fee payments 185 if self.context.student.is_postgrad and self.context.p_category == 'schoolfee':186 microfinance_amt = 0.1 * inst_amt187 inst_amt -= microfinance_amt188 lineitems = (189 {"lineItemsId":"itemid1","beneficiaryName":"Uniben",190 "beneficiaryAccount":inst_acct,"bankCode":inst_bankcode,191 "beneficiaryAmount":inst_amt,"deductFeeFrom":"1"},192 )193 lineitems += ({"lineItemsId":"itemid2","beneficiaryName":"SPGS Scheme",194 "beneficiaryAccount":"0025636203","bankCode":"039",195 "beneficiaryAmount":microfinance_amt,"deductFeeFrom":"0"},196 {"lineItemsId":"itemid3","beneficiaryName":"WAeAC",197 "beneficiaryAccount":"1014261520","bankCode":"057",198 "beneficiaryAmount":provider_amt,"deductFeeFrom":"0"},)188 #if self.context.student.is_postgrad and self.context.p_category == 'schoolfee': 189 # microfinance_amt = 0.1 * inst_amt 190 # inst_amt -= microfinance_amt 191 # lineitems = ( 192 # {"lineItemsId":"itemid1","beneficiaryName":"Uniben", 193 # "beneficiaryAccount":inst_acct,"bankCode":inst_bankcode, 194 # "beneficiaryAmount":inst_amt,"deductFeeFrom":"1"}, 195 # ) 196 # lineitems += ({"lineItemsId":"itemid2","beneficiaryName":"SPGS Scheme", 197 # "beneficiaryAccount":"0025636203","bankCode":"039", 198 # "beneficiaryAmount":microfinance_amt,"deductFeeFrom":"0"}, 199 # {"lineItemsId":"itemid3","beneficiaryName":"WAeAC", 200 # "beneficiaryAccount":"1014261520","bankCode":"057", 201 # "beneficiaryAmount":provider_amt,"deductFeeFrom":"0"},) 199 202 200 203 ## Disabled on 24/02/21 … … 372 375 if applicant.__parent__.prefix.startswith('pg'): 373 376 provider_amt = 2000.0 377 inst_acct = "3000151027" 374 378 if self.context.p_item == 'Balance': 375 379 provider_amt = 0.0
Note: See TracChangeset for help on using the changeset viewer.