Changeset 15796 for main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/etranzact/applicantsbrowser.py
- Timestamp:
- 12 Nov 2019, 08:23:13 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/etranzact/applicantsbrowser.py
r15772 r15796 43 43 grok.require('waeup.payApplicant') 44 44 icon = 'actionicon_pay.png' 45 text = _('Pay via Etranzact ')45 text = _('Pay via Etranzact WebConnect') 46 46 target = 'goto_etranzact' 47 47 … … 61 61 grok.require('waeup.payApplicant') 62 62 icon = 'actionicon_call.png' 63 text = _('Requery Etranzact History')63 text = _('Requery Etranzact WebConnect History') 64 64 target = 'requery_history' 65 65 … … 69 69 self.context.__parent__.__parent__.year, self.context): 70 70 return '' 71 if self.context.p_state in ('paid', 'waived' ):71 if self.context.p_state in ('paid', 'waived', 'scholarship'): 72 72 return '' 73 73 return self.view.url(self.view.context, self.target) … … 185 185 self.context.__parent__.__parent__.year, self.context): 186 186 return 187 if self.context.p_state in ('paid', 'waived' ):187 if self.context.p_state in ('paid', 'waived', 'scholarship'): 188 188 self.flash(_('This ticket has already been paid.'), type='danger') 189 189 return
Note: See TracChangeset for help on using the changeset viewer.