Changeset 14824 for main


Ignore:
Timestamp:
30 Aug 2017, 11:40:01 (7 years ago)
Author:
Henrik Bettermann
Message:

Remove 'paid' from list.

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

Legend:

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

    r14822 r14824  
    505505    def target_url(self):
    506506        if not self.context.screening_date or not self.context.state in (
    507             'submitted', 'admitted', 'paid', 'created'):
     507            'submitted', 'admitted', 'created'):
    508508            return ''
    509509        return self.view.url(self.view.context, self.target)
     
    564564    def update(self):
    565565        if not self.context.screening_date or not self.context.state in (
    566             'submitted', 'admitted', 'paid', 'created'):
     566            'submitted', 'admitted', 'created'):
    567567            self.flash(_('Forbidden'), type="warning")
    568568            self.redirect(self.url(self.context))
  • main/waeup.aaue/trunk/src/waeup/aaue/applicants/tests/test_browser.py

    r14822 r14824  
    8888        self.browser.open(self.view_path)
    8989        self.assertFalse("Download application slip" in self.browser.contents)
    90         IWorkflowState(self.applicant).setState('paid')
     90        IWorkflowState(self.applicant).setState('submitted')
    9191        self.browser.open(self.view_path)
    9292        self.browser.getLink("screening invitation").click()
Note: See TracChangeset for help on using the changeset viewer.