Changeset 16211


Ignore:
Timestamp:
24 Aug 2020, 12:53:08 (4 years ago)
Author:
Henrik Bettermann
Message:

Do not prevend applicants from paying.

File:
1 edited

Legend:

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

    r16210 r16211  
    336336        if self.context.__parent__.with_picture:
    337337            store = getUtility(IExtFileStore)
    338             if not store.getFileByContext(self.context, attr=u'passport.jpg'):
     338            if self.context.__parent__.picture_editable \
     339                and not store.getFileByContext(self.context, attr=u'passport.jpg'):
    339340                return _('Upload your 1"x1" Red background passport photo before making payment.')
    340341        return ''
Note: See TracChangeset for help on using the changeset viewer.