Changeset 17485 for main/waeup.aaue/trunk/src/waeup/aaue
- Timestamp:
- 12 Jul 2023, 20:21:42 (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/interswitch/browser.py
r17480 r17485 193 193 </item_details> 194 194 </payment_item_detail>""" % xmldict 195 196 # Overwrite above configuration 197 if self.applicant.__parent__.code in ('cert1', 'cert2', 'cert6', 'cert9'): 198 xmldict['institution_amt'] = 100 * self.context.net_amt - 100000 199 xmltext = """<payment_item_detail> 200 <item_details detail_ref="%(detail_ref)s" college="%(institution_name)s"> 201 <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" /> 202 <item_detail item_id="2" item_name="%(provider_item_name)s" item_amt="%(provider_amt)d" bank_id="%(provider_bank_id)s" acct_num="%(provider_acct)s" /> 203 <item_detail item_id="3" item_name="Ambrose Alli Foundation" item_amt="100000" bank_id="117" acct_num="1015567975" /> 204 </item_details> 205 </payment_item_detail>""" % xmldict 206 195 207 self.xml_data = """<input type="hidden" name="xml_data" value='%s' />""" % xmltext 196 208 xmlitems = ''
Note: See TracChangeset for help on using the changeset viewer.