Ignore:
Timestamp:
12 Oct 2015, 07:16:26 (9 years ago)
Author:
Henrik Bettermann
Message:

Make affidavit of good conduct compulsory.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/students/browser.py

    r13307 r13308  
    188188
    189189    def dataNotComplete(self):
     190        store = getUtility(IExtFileStore)
     191        #if not store.getFileByContext(self.context, attr=u'birth_certificate.jpg'):
     192        #    return _('No birth certificate uploaded.')
     193        #if not store.getFileByContext(self.context, attr=u'ref_let.jpg'):
     194        #    return _('No guarantor/referee letter uploaded.')
     195        #if not store.getFileByContext(self.context, attr=u'acc_let.jpg'):
     196        #    return _('No acceptance letter uploaded.')
     197        #if not store.getFileByContext(self.context, attr=u'fst_sit_scan.jpg'):
     198        #    return _('No first sitting result uploaded.')
     199        if not store.getFileByContext(self.context, attr=u'stat_dec'):
     200            return _('No affidavit of good conduct uploaded.')
    190201        return False
    191202
Note: See TracChangeset for help on using the changeset viewer.