Changeset 11754 for main/waeup.kofa/trunk
- Timestamp:
- 9 Jul 2014, 05:12:12 (10 years ago)
- Location:
- main/waeup.kofa/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/CHANGES.txt
r11741 r11754 17 17 * Filter payment ticket data exports by specifying the payment_date period. 18 18 19 * Application payment slips can only be downloaded if application form is 20 submitted. 19 * Method for (customizable) application payment slip download requirements added. 21 20 22 21 * Method for (customizable) application payment ticket upload requirements added. -
main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser.py
r11738 r11754 738 738 + ' %s' % self.context.p_id 739 739 740 @property 741 def payment_slip_download_warning(self): 742 if self.context.__parent__.state != SUBMITTED: 743 return _('Please submit the application form before ' 744 'trying to download payment slips.') 745 return '' 746 740 747 def render(self): 741 if self.context.__parent__.state != SUBMITTED: 742 self.flash(_('Please submit the application form before ' 743 'trying to download payment slips.'), type='warning') 748 if self.payment_slip_download_warning: 749 self.flash(self.payment_slip_download_warning, type='danger') 744 750 self.redirect(self.url(self.context)) 745 751 return
Note: See TracChangeset for help on using the changeset viewer.