Ignore:
Timestamp:
25 Nov 2019, 11:04:39 (5 years ago)
Author:
Henrik Bettermann
Message:

Show correct buttons if payment state in ('paid', 'waived', 'scholarship').

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/viewlets.py

    r15820 r15843  
    540540    @property
    541541    def target_url(self):
    542         if self.context.p_state == 'paid':
     542        if self.context.p_state in ('paid', 'waived', 'scholarship'):
    543543            return ''
    544544        return self.view.url(self.view.context, self.target)
Note: See TracChangeset for help on using the changeset viewer.