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/studentsbrowser.py

    r15772 r15796  
    5252    grok.require('waeup.payStudent')
    5353    icon = 'actionicon_pay.png'
    54     text = _('Pay via Etranzact')
     54    text = _('Pay via Etranzact WebConnect')
    5555    target = 'goto_etranzact'
    5656
     
    7070    grok.require('waeup.payStudent')
    7171    icon = 'actionicon_call.png'
    72     text = _('Requery Etranzact History')
     72    text = _('Requery Etranzact WebConnect History')
    7373    target = 'requery_history'
    7474
     
    7878            self.context.student.current_session, self.context):
    7979            return ''
    80         if self.context.p_state in ('paid', 'waived'):
     80        if self.context.p_state in ('paid', 'waived', 'scholarship'):
    8181            return ''
    8282        return self.view.url(self.view.context, self.target)
     
    194194            self.context.student.current_session, self.context):
    195195            return
    196         if self.context.p_state in ('paid', 'waived'):
     196        if self.context.p_state in ('paid', 'waived', 'scholarship'):
    197197            self.flash(_('This ticket has already been paid.'), type='danger')
    198198            return
Note: See TracChangeset for help on using the changeset viewer.