Changeset 15396 for main/waeup.aaue/trunk/src/waeup/aaue/interswitch
- Timestamp:
- 25 Apr 2019, 07:10:27 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/interswitch/browser.py
r15391 r15396 59 59 60 60 def contr_agreement_applicant(applicant): 61 if applicant.__parent__.code[:2] in ('fp', 'pt', 'ds'): 61 if applicant.__parent__ in ( 62 'fp', 63 'ptee', 64 'dsh', 65 'bridge', 66 'ijmbe', 67 ): 62 68 return 'first' 63 69 return 'second' … … 71 77 'ug_pt', 72 78 'de_pt', 73 'dp_pt'): 79 'dp_pt', 80 'ijmbe', 81 ): 74 82 return 'first' 75 83 return 'second' … … 329 337 xmltext += """" 330 338 </item_details> 331 </payment_item_detail>""" % xmldict339 </payment_item_detail>""" 332 340 else: 333 341 xmldict['institution_amt'] = 100 * ( … … 353 361 xmltext += """" 354 362 </item_details> 355 </payment_item_detail>""" % xmldict363 </payment_item_detail>""" 356 364 elif contr_agreement_student(student) == 'second': 357 365 # Schoolfee without Student Union Fee ands Student Welfare Assurance … … 426 434 xmltext += """" 427 435 </item_details> 428 </payment_item_detail>""" % xmldict436 </payment_item_detail>""" 429 437 430 438 elif student.current_mode == 'bridge': … … 445 453 xmltext = """<payment_item_detail> 446 454 <item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s"> 447 <item_detail item_id="1" item_name="%(institution_item_name)s" item_amt="%(institution_amt)d" bank_id="%(institution_bank_id)s" acct_num="%(institution_acct)s" />""" 455 <item_detail item_id="1" item_name="%(institution_item_name)s" item_amt="%(institution_amt)d" bank_id="%(institution_bank_id)s" acct_num="%(institution_acct)s" />""" % xmldict 448 456 if contr_agreement_student(student) == 'second': 449 457 xmltext += """" … … 454 462 xmltext += """" 455 463 </item_details> 456 </payment_item_detail>""" % xmldict464 </payment_item_detail>""" 457 465 458 466 # Union Dues
Note: See TracChangeset for help on using the changeset viewer.