- Timestamp:
- 25 Nov 2019, 13:39:39 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.skeleton/trunk/src/kofacustom/skeleton/etranzact/browser.py
r15756 r15847 22 22 from kofacustom.nigeria.etranzact.studentsbrowser import ( 23 23 EtranzactPageStudent, EtranzactReceiveResponseStudent, 24 EtranzactRequestPaymentStatusPageStudent) 24 EtranzactRequestPaymentStatusPageStudent, 25 webconnect_module_activated) 25 26 from kofacustom.nigeria.etranzact.payoutletbrowser import ( 26 27 EtranzactEnterPinPageStudent, EtranzactEnterPinPageApplicant, 27 EtranzactQueryHistoryPageStudent, EtranzactQueryHistoryPageApplicant) 28 EtranzactQueryHistoryPageStudent, EtranzactQueryHistoryPageApplicant, 29 payoutlet_module_activated) 28 30 from kofacustom.nigeria.etranzact.payoutletwebservice import NigeriaPaymentDataWebservice 29 31 … … 52 54 # Already now it becomes an Etranzact payment. We set the net amount 53 55 # and add the gateway amount. 56 if not webconnect_module_activated( 57 self.context.__parent__.__parent__.year, self.context): 58 return _("Etranzact payments deactivated.") 54 59 if not self.context.r_company: 55 60 self.context.net_amt = self.context.amount_auth … … 91 96 # Already now it becomes an Etranzact payment. We set the net amount 92 97 # and add the gateway amount. 98 if not webconnect_module_activated( 99 self.context.student.current_session, self.context): 100 return _("Etranzact payments deactivated.") 93 101 if not self.context.r_company: 94 102 self.context.net_amt = self.context.amount_auth
Note: See TracChangeset for help on using the changeset viewer.