Changeset 17672 for main/kofacustom.iuokada/trunk
- Timestamp:
- 16 Jan 2024, 17:29:32 (11 months ago)
- Location:
- main/kofacustom.iuokada/trunk/src/kofacustom/iuokada
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/interswitch/browser.py
r17665 r17672 121 121 100 * provider_amt) 122 122 123 if self.context.p_option == 'access': 124 xmldict['institution_acct'] = '0040484781' 125 xmldict['institution_bank_id'] = '31' 126 elif self.context.p_option == 'first': 127 xmldict['institution_acct'] = '2021420049' 128 xmldict['institution_bank_id'] = '8' 129 elif self.context.p_option == 'zenith': 130 xmldict['institution_acct'] = '1011005811' 123 if grok.getSite().__name__ == 'iuokada-cdl': 124 xmldict['institution_acct'] = '1229771245' 131 125 xmldict['institution_bank_id'] = '117' 126 if self.context.p_category.startswith('schoolfee'): 127 xmldict['institution_acct'] = '1828332878' 128 xmldict['institution_bank_id'] = '31' 132 129 else: 133 xmldict['institution_acct'] = '0040484781' 134 xmldict['institution_bank_id'] = '31' 135 136 # Overwrite above selection 137 138 if grok.getSite().__name__ == 'iuokada-cdl': 139 xmldict['institution_acct'] = '1828332878' 140 xmldict['institution_bank_id'] = '31' 141 elif self.context.p_category == 'book': 142 xmldict['institution_acct'] = '1228744877' 143 xmldict['institution_bank_id'] = '117' 144 elif self.context.p_category == 'parentsconsult': 145 xmldict['institution_acct'] = '1228747029' 146 xmldict['institution_bank_id'] = '117' 147 elif self.context.p_category == 'health_insurance': 148 xmldict['institution_acct'] = '1228744884' 149 xmldict['institution_bank_id'] = '117' 130 if self.context.p_option == 'access': 131 xmldict['institution_acct'] = '0040484781' 132 xmldict['institution_bank_id'] = '31' 133 elif self.context.p_option == 'first': 134 xmldict['institution_acct'] = '2021420049' 135 xmldict['institution_bank_id'] = '8' 136 elif self.context.p_option == 'zenith': 137 xmldict['institution_acct'] = '1011005811' 138 xmldict['institution_bank_id'] = '117' 139 else: 140 xmldict['institution_acct'] = '0040484781' 141 xmldict['institution_bank_id'] = '31' 142 143 # Overwrite above selection 144 if self.context.p_category == 'book': 145 xmldict['institution_acct'] = '1228744877' 146 xmldict['institution_bank_id'] = '117' 147 elif self.context.p_category == 'parentsconsult': 148 xmldict['institution_acct'] = '1228747029' 149 xmldict['institution_bank_id'] = '117' 150 elif self.context.p_category == 'health_insurance': 151 xmldict['institution_acct'] = '1228744884' 152 xmldict['institution_bank_id'] = '117' 150 153 151 154 if provider_amt == 0: … … 210 213 xmldict['institution_acct'] = '1011005811' 211 214 xmldict['institution_bank_id'] = '117' 215 if grok.getSite().__name__ == 'iuokada-cdl': 216 xmldict['institution_acct'] = '1229774710' 217 xmldict['institution_bank_id'] = '117' 212 218 xmldict['detail_ref'] = self.context.p_id 213 219 xmldict['provider_amt'] = 100 * provider_amt -
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/utils/utils.py
r17665 r17672 167 167 168 168 CDLPORTAL_PAYMENT_CATEGORIES = { 169 'schoolfee': 'School Fees', 169 170 'clearance': 'Acceptance Fee', 170 171 'id_card': 'Student ID Card',
Note: See TracChangeset for help on using the changeset viewer.