Ignore:
Timestamp:
12 Nov 2019, 08:23:13 (5 years ago)
Author:
Henrik Bettermann
Message:

Payment slip must not be downloadable before adding surcharges.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/etranzact/applicantsbrowser.py

    r15772 r15796  
    4343    grok.require('waeup.payApplicant')
    4444    icon = 'actionicon_pay.png'
    45     text = _('Pay via Etranzact')
     45    text = _('Pay via Etranzact WebConnect')
    4646    target = 'goto_etranzact'
    4747
     
    6161    grok.require('waeup.payApplicant')
    6262    icon = 'actionicon_call.png'
    63     text = _('Requery Etranzact History')
     63    text = _('Requery Etranzact WebConnect History')
    6464    target = 'requery_history'
    6565
     
    6969            self.context.__parent__.__parent__.year, self.context):
    7070            return ''
    71         if self.context.p_state in ('paid', 'waived'):
     71        if self.context.p_state in ('paid', 'waived', 'scholarship'):
    7272            return ''
    7373        return self.view.url(self.view.context, self.target)
     
    185185            self.context.__parent__.__parent__.year, self.context):
    186186            return
    187         if self.context.p_state in ('paid', 'waived'):
     187        if self.context.p_state in ('paid', 'waived', 'scholarship'):
    188188            self.flash(_('This ticket has already been paid.'), type='danger')
    189189            return
Note: See TracChangeset for help on using the changeset viewer.