Changeset 15770 for main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/etranzact/applicantsbrowser.py
- Timestamp:
- 7 Nov 2019, 15:43:51 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/etranzact/applicantsbrowser.py
r15768 r15770 42 42 try: 43 43 return getattr(grok.getSite()['configuration'][str(session)], 44 'etranzact_ payoutlet_enabled', False)44 'etranzact_webconnect_enabled', False) 45 45 except KeyError: 46 46 return False … … 58 58 def target_url(self): 59 59 if not module_activated( 60 self.context. student.current_session, self.context):60 self.context.__parent__.__parent__.year, self.context): 61 61 return '' 62 62 if self.context.p_state != 'unpaid': … … 76 76 def target_url(self): 77 77 if not module_activated( 78 self.context. student.current_session, self.context):78 self.context.__parent__.__parent__.year, self.context): 79 79 return '' 80 80 if self.context.p_state in ('paid', 'waived'): … … 107 107 def init_update(self): 108 108 if not module_activated( 109 self.context. student.current_session, self.context):109 self.context.__parent__.__parent__.year, self.context): 110 110 return _("Etranzact payments deactivated.") 111 111 if self.context.p_state == 'paid': … … 158 158 super(EtranzactReceiveResponseApplicant, self).update() 159 159 if not module_activated( 160 self.context. student.current_session, self.context):160 self.context.__parent__.__parent__.year, self.context): 161 161 return 162 162 applicant = self.context.__parent__ … … 192 192 def update(self): 193 193 if not module_activated( 194 self.context. student.current_session, self.context):194 self.context.__parent__.__parent__.year, self.context): 195 195 return 196 196 if self.context.p_state in ('paid', 'waived'):
Note: See TracChangeset for help on using the changeset viewer.