- Timestamp:
- 31 Aug 2021, 15:26:46 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.ecns/trunk/src/kofacustom/ecns/interswitch/browser.py
r16589 r16593 20 20 import grok 21 21 from kofacustom.nigeria.interswitch.browser import ( 22 module_activated, 22 23 InterswitchPaymentRequestWebservicePageApplicant, 23 24 InterswitchPaymentRequestWebservicePageStudent, … … 31 32 32 33 PRODUCT_ID = '' # must be provided by Interswitch 33 SITE_NAME = 'ecns -kofa.waeup.org'34 SITE_NAME = 'ecns.waeup.org' 34 35 PROVIDER_ACCT = '00000000' 35 36 PROVIDER_BANK_ID = '00' … … 63 64 64 65 def update(self): 66 if not module_activated( 67 self.context.student.current_session, self.context): 68 self.flash(_('Forbidden'), type='danger') 69 self.redirect(self.url(self.context, '@@index')) 70 return 65 71 error = self.init_update() 66 72 if error: … … 134 140 135 141 def update(self): 142 if not module_activated( 143 self.context.__parent__.__parent__.year, self.context): 144 self.flash(_('Forbidden'), type='danger') 145 self.redirect(self.url(self.context, '@@index')) 146 return 136 147 error = self.init_update() 137 148 if error:
Note: See TracChangeset for help on using the changeset viewer.