Changeset 15180 for main/waeup.aaue/trunk/src/waeup/aaue/interswitch
- Timestamp:
- 2 Oct 2018, 12:39:06 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/interswitch/browser.py
r15168 r15180 240 240 student_welfare_assurance_amt = gateway_net_amt( 241 241 academic_session.welfare_fee) 242 sports_amt = gateway_net_amt( 243 academic_session.sports_fee) 244 library_amt = gateway_net_amt( 245 academic_session.library_fee) 242 246 xmldict['student_union_bank_id'] = '31' 243 247 xmldict['student_union_acct'] = '0051005007' … … 259 263 student_welfare_assurance_amt = gateway_net_amt( 260 264 academic_session.welfare_fee) 265 sports_amt = gateway_net_amt( 266 academic_session.sports_fee) 267 library_amt = gateway_net_amt( 268 academic_session.library_fee) 261 269 xmldict['student_union_bank_id'] = '7' 262 270 xmldict['student_union_acct'] = '1019763348' … … 284 292 xmldict['student_union_due_amt'] = 100 * student_union_due_amt 285 293 xmldict['student_welfare_assurance_amt'] = 100 * student_welfare_assurance_amt 294 xmldict['sports_amt'] = 100 * sports_amt 295 xmldict['library_amt'] = 100 * library_amt 286 296 xmldict['institution_amt'] = 100 * ( 287 297 gateway_net_amt(self.context.amount_auth) … … 290 300 - aaue_share_amt 291 301 - student_union_due_amt 292 - student_welfare_assurance_amt) 302 - student_welfare_assurance_amt 303 - sports_amt 304 - library_amt) 293 305 xmltext = """<payment_item_detail> 294 306 <item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s"> … … 299 311 <item_detail item_id="5" item_name="Student Union" item_amt="%(student_union_due_amt)d" bank_id="%(student_union_bank_id)s" acct_num="%(student_union_acct)s" /> 300 312 <item_detail item_id="6" item_name="Student Welfare Assurance" item_amt="%(student_welfare_assurance_amt)d" bank_id="123" acct_num="1006407792" /> 313 <item_detail item_id="7" item_name="Sports Development Fee" item_amt="%(sports_amt)d" bank_id="123" acct_num="1005407792" /> 314 <item_detail item_id="8" item_name="Library Development Fee" item_amt="%(library_amt)d" bank_id="8" acct_num="2000122995" /> 301 315 </item_details> 302 316 </payment_item_detail>""" % xmldict
Note: See TracChangeset for help on using the changeset viewer.