- Timestamp:
- 22 Oct 2012, 05:16:08 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/browser.py
r9376 r9378 145 145 return form_fields 146 146 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 False158 159 147 class NigeriaExportPDFCourseRegistrationSlipPage(ExportPDFCourseRegistrationSlipPage): 160 148 """Deliver a PDF slip of the context.
Note: See TracChangeset for help on using the changeset viewer.