Index: /main/kofacustom.edocons/trunk/src/kofacustom/edocons/applicants/browser.py
===================================================================
--- /main/kofacustom.edocons/trunk/src/kofacustom/edocons/applicants/browser.py	(revision 17040)
+++ /main/kofacustom.edocons/trunk/src/kofacustom/edocons/applicants/browser.py	(revision 17041)
@@ -21,4 +21,5 @@
 from zope.component import getUtility
 from zope.i18n import translate
+from waeup.kofa.interfaces import IExtFileStore, IKofaUtils
 from waeup.kofa.widgets.datewidget import FriendlyDatetimeDisplayWidget
 from zope.formlib.textwidgets import BytesDisplayWidget
@@ -29,4 +30,5 @@
     OnlinePaymentDisplayFormPage,
     OnlinePaymentBreadcrumb, ExportPDFPaymentSlipPage,
+    AdditionalFile
     )
 from waeup.kofa.applicants.viewlets import (
@@ -181,4 +183,15 @@
     """
 
+    def display_fileupload(self, filename):
+        if filename[1] == 'res_stat' \
+            and self.target is not None \
+            and not self.target.startswith('tsc'):
+            return False
+        if filename[1] == 'eligibility' \
+            and self.target is not None \
+            and not self.target.startswith('tsc'):
+            return False
+        return True
+
     @property
     def form_fields(self):
@@ -207,4 +220,15 @@
         return True
 
+    def display_fileupload(self, filename):
+        if filename[1] == 'res_stat' \
+            and self.target is not None \
+            and not self.target.startswith('tsc'):
+            return False
+        if filename[1] == 'eligibility' \
+            and self.target is not None \
+            and not self.target.startswith('tsc'):
+            return False
+        return True
+
     @property
     def form_fields(self):
@@ -225,2 +249,25 @@
         form_fields['reg_number'].for_display = True
         return form_fields
+
+    def dataNotComplete(self, data):
+        store = getUtility(IExtFileStore)
+        if self.context.__parent__.with_picture \
+            and self.context.__parent__.picture_editable:
+            store = getUtility(IExtFileStore)
+            if not store.getFileByContext(self.context, attr=u'passport.jpg'):
+                return _('No passport picture uploaded.')
+        if self.target is not None \
+            and self.target.startswith('tscf') \
+            and not store.getFileByContext(self.context, attr=u'res_stat.pdf'):
+            return _('No statement of result pdf file uploaded.')
+        #if self.target is not None \
+        #    and self.target.startswith('tsc') \
+        #    and not store.getFileByContext(self.context, attr=u'eligibility.pdf'):
+        #    return _('No eligibility form pdf file uploaded.')
+        return False
+
+class ResultStatement(AdditionalFile):
+    grok.name('res_stat')
+
+class EligibilityForm(AdditionalFile):
+    grok.name('eligibility')        
Index: /main/kofacustom.edocons/trunk/src/kofacustom/edocons/applicants/utils.py
===================================================================
--- /main/kofacustom.edocons/trunk/src/kofacustom/edocons/applicants/utils.py	(revision 17040)
+++ /main/kofacustom.edocons/trunk/src/kofacustom/edocons/applicants/utils.py	(revision 17041)
@@ -31,4 +31,9 @@
     """A collection of parameters and methods subject to customization.
     """
+
+    ADDITIONAL_FILES = (
+                 ('Eligibility Form','eligibility'),
+                 ('Statement of Result','res_stat'),
+                 )
 
     SEPARATORS_DICT = {
