- Timestamp:
- 7 Nov 2015, 12:05:48 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/interswitch/browser.py
r13403 r13406 49 49 50 50 51 def dynamic_gateway_amt(fee): 52 return GATEWAY_AMT 53 51 54 def contr_agreement(student): 52 55 if student.current_mode == 'found' or student.current_mode.endswith('_pt'): … … 216 219 - joint_venture_amt 217 220 - aaue_share_amt 218 - student_union_due_amt219 - student_welfare_assurance_amt221 - (student_union_due_amt - GATEWAY_AMT) 222 - (student_welfare_assurance_amt - GATEWAY_AMT) 220 223 - GATEWAY_AMT) 221 224 xmltext = """<payment_item_detail> … … 271 274 xmldict['institution_amt'] = 100 * ( 272 275 self.context.amount_auth 273 - gown_fee_amt274 - aaue_fl_fee_amt276 - (gown_fee_amt - GATEWAY_AMT) 277 - (aaue_fl_fee_amt - GATEWAY_AMT) 275 278 - GATEWAY_AMT) 276 279 xmltext = """<payment_item_detail> … … 299 302 xmldict['institution_bank_id'] = '123' 300 303 xmldict['institution_amt'] = 100 * ( 301 self.context.amount_auth - GATEWAY_AMT) 304 self.context.amount_auth - 305 dynamic_gateway_amt(self.context.amount_auth)) 302 306 xmltext = """<payment_item_detail> 303 307 <item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s"> … … 312 316 xmldict['institution_bank_id'] = '51' 313 317 xmldict['institution_amt'] = 100 * ( 314 self.context.amount_auth - GATEWAY_AMT) 318 self.context.amount_auth - 319 dynamic_gateway_amt(self.context.amount_auth)) 315 320 xmltext = """<payment_item_detail> 316 321 <item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s"> … … 325 330 xmldict['institution_bank_id'] = '123' 326 331 xmldict['institution_amt'] = 100 * ( 327 self.context.amount_auth - GATEWAY_AMT) 332 self.context.amount_auth - 333 dynamic_gateway_amt(self.context.amount_auth)) 328 334 xmltext = """<payment_item_detail> 329 335 <item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s"> … … 338 344 xmldict['institution_bank_id'] = '51' 339 345 xmldict['institution_amt'] = 100 * ( 340 self.context.amount_auth - GATEWAY_AMT) 346 self.context.amount_auth - 347 dynamic_gateway_amt(self.context.amount_auth)) 341 348 xmltext = """<payment_item_detail> 342 349 <item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s"> … … 351 358 xmldict['institution_bank_id'] = '117' 352 359 xmldict['institution_amt'] = 100 * ( 353 self.context.amount_auth - GATEWAY_AMT) 360 self.context.amount_auth - 361 dynamic_gateway_amt(self.context.amount_auth)) 354 362 xmltext = """<payment_item_detail> 355 363 <item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s"> … … 364 372 xmldict['institution_bank_id'] = '117' 365 373 xmldict['institution_amt'] = 100 * ( 366 self.context.amount_auth - GATEWAY_AMT) 374 self.context.amount_auth - 375 dynamic_gateway_amt(self.context.amount_auth)) 367 376 xmltext = """<payment_item_detail> 368 377 <item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s"> … … 377 386 xmldict['institution_bank_id'] = '123' 378 387 xmldict['institution_amt'] = 100 * ( 379 self.context.amount_auth - GATEWAY_AMT) 388 self.context.amount_auth - 389 dynamic_gateway_amt(self.context.amount_auth)) 380 390 xmltext = """<payment_item_detail> 381 391 <item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s">
Note: See TracChangeset for help on using the changeset viewer.