Ignore:
Timestamp:
10 Aug 2015, 16:33:24 (9 years ago)
Author:
Henrik Bettermann
Message:

Do not allow to requery waived payments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/interswitch/browser.py

    r13044 r13197  
    6363    @property
    6464    def target_url(self):
    65         if self.context.p_state == 'paid':
     65        if self.context.p_state in ('paid', 'waived'):
    6666            return ''
    6767        return self.view.url(self.view.context, self.target)
     
    8585
    8686    def update(self):
    87         if self.context.p_state == 'paid':
     87        if self.context.p_state in ('paid', 'waived'):
    8888            self.flash(_('This ticket has already been paid.'), type='warning')
    8989            return
Note: See TracChangeset for help on using the changeset viewer.