Changeset 15974 for main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/etranzact/payoutletbrowser.py
- Timestamp:
- 31 Jan 2020, 21:50:08 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/etranzact/payoutletbrowser.py
r15796 r15974 106 106 if not payoutlet_module_activated( 107 107 self.context.student.current_session, self.context): 108 return 109 super(EtranzactEnterPinPageStudent, self).update() 108 self.flash(_('Forbidden'), type='danger') 109 self.redirect(self.url(self.context, '@@index')) 110 return 110 111 # Already now it becomes an Etranzact payment. We set the net amount 111 112 # and add the gateway amount. … … 134 135 if not payoutlet_module_activated( 135 136 self.context.__parent__.__parent__.year, self.context): 136 return 137 super(EtranzactEnterPinPageApplicant, self).update() 137 self.flash(_('Forbidden'), type='danger') 138 self.redirect(self.url(self.context, '@@index')) 139 return 138 140 # Already now it becomes an Etranzact payment. We set the net amount 139 141 # and add the gateway amount. … … 178 180 if not payoutlet_module_activated( 179 181 self.context.student.current_session, self.context): 182 self.flash(_('Forbidden'), type='danger') 183 self.redirect(self.url(self.context, '@@index')) 180 184 return 181 185 if self.context.p_state == 'paid': … … 213 217 if not payoutlet_module_activated( 214 218 self.context.__parent__.__parent__.year, self.context): 219 self.flash(_('Forbidden'), type='danger') 220 self.redirect(self.url(self.context, '@@index')) 215 221 return 216 222 if self.context.p_state == 'paid':
Note: See TracChangeset for help on using the changeset viewer.