- Timestamp:
- 15 Jan 2020, 12:41:51 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/remita/browser.py
r15828 r15929 133 133 inst_acct = "0040217361011" 134 134 provider_amt = 0.0 135 student_union = 0.0 135 136 if self.context.p_category == 'schoolfee' and \ 136 137 not self.context.p_item == 'Balance': 137 138 provider_amt = self.dynamic_provider_amt(self.context.student) 139 if self.context.student.current_mode == 'ug_ft': 140 student_union = 1000.0 138 141 elif self.context.p_category == 'clearance': 139 142 provider_amt = self.dynamic_provider_amt(self.context.student) … … 145 148 inst_acct = "0040217361038" 146 149 inst_amt = self.context.amount_auth - provider_amt 150 lineitems = ( 151 {"lineItemsId":"itemid1","beneficiaryName":"Uniben", 152 "beneficiaryAccount":inst_acct,"bankCode":inst_bankcode, 153 "beneficiaryAmount":inst_amt,"deductFeeFrom":"1"}, 154 ) 147 155 if provider_amt: 148 lineitems = ( 149 {"lineItemsId":"itemid1","beneficiaryName":"Uniben", 150 "beneficiaryAccount":inst_acct,"bankCode":inst_bankcode, 151 "beneficiaryAmount":inst_amt,"deductFeeFrom":"1"}, 152 {"lineItemsId":"itemid2","beneficiaryName":"WAeAC", 156 lineitems += ({"lineItemsId":"itemid2","beneficiaryName":"WAeAC", 153 157 "beneficiaryAccount":"1014261520","bankCode":"057", 154 "beneficiaryAmount":provider_amt,"deductFeeFrom":"0"} 155 ) 156 else: 157 lineitems = ( 158 {"lineItemsId":"itemid1","beneficiaryName":"Uniben", 159 "beneficiaryAccount":inst_acct,"bankCode":inst_bankcode, 160 "beneficiaryAmount":inst_amt,"deductFeeFrom":"1"}, 161 ) 158 "beneficiaryAmount":provider_amt,"deductFeeFrom":"0"},) 159 if student_union: 160 lineitems += ({"lineItemsId":"itemid3","beneficiaryName":"Student Union", 161 "beneficiaryAccount":"0025636203","bankCode":"039", 162 "beneficiaryAmount":student_union,"deductFeeFrom":"0"},) 163 162 164 # Split pharmd school fee payments into 3 parts if students decide to pay the 163 165 # entire school fee at once. If the amount is less than N240000, the student
Note: See TracChangeset for help on using the changeset viewer.