Ignore:
Timestamp:
22 Oct 2012, 05:16:08 (12 years ago)
Author:
Henrik Bettermann
Message:

Required scans have to be customized in the institution packages.

File:
1 edited

Legend:

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

    r9376 r9378  
    145145        return form_fields
    146146
    147     def dataNotComplete(self):
    148         store = getUtility(IExtFileStore)
    149         if not store.getFileByContext(self.context, attr=u'birth_certificate.jpg'):
    150             return _('No birth certificate uploaded.')
    151         if not store.getFileByContext(self.context, attr=u'ref_let.jpg'):
    152             return _('No referee letter uploaded.')
    153         if not store.getFileByContext(self.context, attr=u'acc_let.jpg'):
    154             return _('No acceptance letter uploaded.')
    155         if not store.getFileByContext(self.context, attr=u'fst_sit_scan.jpg'):
    156             return _('No first sitting result uploaded.')
    157         return False
    158 
    159147class NigeriaExportPDFCourseRegistrationSlipPage(ExportPDFCourseRegistrationSlipPage):
    160148    """Deliver a PDF slip of the context.
Note: See TracChangeset for help on using the changeset viewer.