Ignore:
Timestamp:
26 Jul 2012, 06:18:41 (12 years ago)
Author:
Henrik Bettermann
Message:

Application slips are only available when application form is submitted.

Location:
main/waeup.kofa/trunk/src/waeup/kofa/applicants
Files:
2 edited

Legend:

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

    r9047 r9051  
    707707
    708708    def update(self):
    709         if self.context.state in ('initialized', 'started'):
     709        if self.context.state in ('initialized', 'started', 'paid'):
    710710            self.flash(
    711                 _('Please pay before trying to download the application slip.'))
     711                _('Please pay and submit before trying to download the application slip.'))
    712712            return self.redirect(self.url(self.context))
    713713        return
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/viewlets.py

    r8684 r9051  
    183183        """Get a URL to the target...
    184184        """
    185         if self.context.state in ('initialized', 'started'):
     185        if self.context.state in ('initialized', 'started', 'paid'):
    186186            return
    187187        return self.view.url(self.view.context, self.target)
Note: See TracChangeset for help on using the changeset viewer.