Ignore:
Timestamp:
7 Jun 2016, 20:08:05 (8 years ago)
Author:
Henrik Bettermann
Message:

Remove application fee fallback option. This option has never been used and is confusing.

Hide Payment Tickets section on application pages if fee isn't set.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser.py

    r13429 r13886  
    557557
    558558    @property
     559    def display_payments(self):
     560        if self.context.special:
     561            return True
     562        return getattr(self.context.__parent__, 'application_fee', None)
     563
     564    @property
    559565    def form_fields(self):
    560566        if self.context.special:
     
    887893    display_actions = [[_('Save'), _('Finally Submit')],
    888894        [_('Add online payment ticket'),_('Remove selected tickets')]]
     895
     896    @property
     897    def display_payments(self):
     898        if self.context.special:
     899            return True
     900        return getattr(self.context.__parent__, 'application_fee', None)
    889901
    890902    @property
Note: See TracChangeset for help on using the changeset viewer.