- Timestamp:
- 31 Jan 2020, 21:50:08 (5 years ago)
- Location:
- main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/remita
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/remita/applicantsbrowser.py
r15842 r15974 112 112 if not module_activated( 113 113 self.context.__parent__.__parent__.year, self.context): 114 self.flash(_('Forbidden'), type='danger') 115 self.redirect(self.url(self.context, '@@index')) 114 116 return 115 117 if self.context.p_state in ('paid', 'waived', 'scholarship'): … … 165 167 if not module_activated( 166 168 self.context.__parent__.__parent__.year, self.context): 169 self.flash(_('Forbidden'), type='danger') 170 self.redirect(self.url(self.context, '@@index')) 167 171 return 168 172 if self.context.p_state != 'paid' \ … … 279 283 if not module_activated( 280 284 self.context.__parent__.__parent__.year, self.context): 285 self.flash(_('Forbidden'), type='danger') 286 self.redirect(self.url(self.context, '@@index')) 281 287 return 282 288 self.orderId = self.context.p_id -
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/remita/studentsbrowser.py
r15842 r15974 122 122 if not module_activated( 123 123 self.context.student.current_session, self.context): 124 self.flash(_('Forbidden'), type='danger') 125 self.redirect(self.url(self.context, '@@index')) 124 126 return 125 127 if self.context.p_state in ('paid', 'waived', 'scholarship'): … … 175 177 if not module_activated( 176 178 self.context.student.current_session, self.context): 179 self.flash(_('Forbidden'), type='danger') 180 self.redirect(self.url(self.context, '@@index')) 177 181 return 178 182 if self.context.p_state != 'paid' \ … … 298 302 if not module_activated( 299 303 self.context.student.current_session, self.context): 304 self.flash(_('Forbidden'), type='danger') 305 self.redirect(self.url(self.context, '@@index')) 300 306 return 301 307 self.orderId = self.context.p_id
Note: See TracChangeset for help on using the changeset viewer.