Changeset 16379 for main/kofacustom.nigeria
- Timestamp:
- 20 Jan 2021, 10:13:07 (4 years ago)
- Location:
- main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/etranzact
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/etranzact/applicantsbrowser.py
r16271 r16379 69 69 self.context.__parent__.__parent__.year, self.context): 70 70 return '' 71 if self.context.p_state in ('paid', 'waived', 'scholarship' ):71 if self.context.p_state in ('paid', 'waived', 'scholarship', 'failed'): 72 72 return '' 73 73 return self.view.url(self.view.context, self.target) … … 193 193 self.redirect(self.url(self.context, '@@index')) 194 194 return 195 if self.context.p_state in ('paid', 'waived', 'scholarship' ):196 self.flash(_('This ticket has already been p aid.'), type='danger')195 if self.context.p_state in ('paid', 'waived', 'scholarship', 'failed'): 196 self.flash(_('This ticket has already been processed.'), type='danger') 197 197 return 198 198 applicant = self.context.__parent__ -
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/etranzact/studentsbrowser.py
r16271 r16379 83 83 self.context.student.current_session, self.context): 84 84 return '' 85 if self.context.p_state in ('paid', 'waived', 'scholarship' ):85 if self.context.p_state in ('paid', 'waived', 'scholarship', 'failed'): 86 86 return '' 87 87 return self.view.url(self.view.context, self.target) … … 207 207 self.redirect(self.url(self.context, '@@index')) 208 208 return 209 if self.context.p_state in ('paid', 'waived', 'scholarship' ):210 self.flash(_('This ticket has already been p aid.'), type='danger')209 if self.context.p_state in ('paid', 'waived', 'scholarship', 'failed'): 210 self.flash(_('This ticket has already been processed.'), type='danger') 211 211 return 212 212 student = self.context.student
Note: See TracChangeset for help on using the changeset viewer.