Changeset 15846


Ignore:
Timestamp:
25 Nov 2019, 13:29:09 (5 years ago)
Author:
Henrik Bettermann
Message:

Payment slips must be printable in state 'paid'.

Location:
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/applicants/browser.py

    r15844 r15846  
    6565    @property
    6666    def target_url(self):
    67         if not self.context.p_state in ('waived', 'scholarship') \
     67        if not self.context.p_state in ('paid', 'waived', 'scholarship') \
    6868            and not self.context.r_company:
    6969            return ''
     
    192192
    193193    def update(self):
    194         if not self.context.p_state in ('waived', 'scholarship') \
     194        if not self.context.p_state in ('paid', 'waived', 'scholarship') \
    195195            and not self.context.r_company:
    196196            self.redirect(self.url(self.context))
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/browser.py

    r15844 r15846  
    217217
    218218    def update(self):
    219         if not self.context.p_state in ('waived', 'scholarship') \
     219        if not self.context.p_state in ('paid', 'waived', 'scholarship') \
    220220            and not self.context.r_company:
    221221            self.redirect(self.url(self.context))
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/viewlets.py

    r15842 r15846  
    6060    @property
    6161    def target_url(self):
    62         if not self.context.p_state in ('waived', 'scholarship') \
     62        if not self.context.p_state in ('paid', 'waived', 'scholarship') \
    6363            and not self.context.r_company:
    6464            return ''
Note: See TracChangeset for help on using the changeset viewer.