Index: /WAeUP_SRP/trunk/skins/waeup_student/clearance_pin_form.pt
===================================================================
--- /WAeUP_SRP/trunk/skins/waeup_student/clearance_pin_form.pt	(revision 1140)
+++ /WAeUP_SRP/trunk/skins/waeup_student/clearance_pin_form.pt	(revision 1141)
@@ -2,5 +2,5 @@
                    portal_status_message options/psm;
                    data_storage options/ds;
-                   jamb options/jamb/getContent|nothing;
+                   info options/info|nothing;
                    edition python:1;"
                    >
@@ -15,4 +15,8 @@
       <metal:block fill-slot="main">
         <h3>Start Clearance! </h3>
+        <strong tal:condition="info/penalty">
+          You are required to pay and obtain a receipt, the sum of Three Thousand Naira Only (N3,000.00)
+          as penalty for late clearance as your clearance ended on 22nd December 2006.
+        </strong>
         <br />
         <div tal:replace="structure rendered_main" />
Index: /WAeUP_SRP/trunk/skins/waeup_student/getClearanceInfo.py
===================================================================
--- /WAeUP_SRP/trunk/skins/waeup_student/getClearanceInfo.py	(revision 1140)
+++ /WAeUP_SRP/trunk/skins/waeup_student/getClearanceInfo.py	(revision 1141)
@@ -14,4 +14,5 @@
 import logging
 logger = logging.getLogger('Student.Clearance.Info')
+from DateTime import DateTime
 
 request = context.REQUEST
@@ -39,9 +40,15 @@
 students_object = context.portal_url.getPortalObject().campus.students
 student = getattr(students_object, student_id)
+res = context.portal_catalog(portal_type='Student',id = student_id)
+if len(res) == 0:
+    return None
+creation_date = DateTime(res[0].CreationDate)
+info['penalty'] = creation_date.lessThan(DateTime('2006/12/10'))\
+                  and DateTime().greaterThan(DateTime('2006/12/30'))
 info['id'] = student_id
 info['student'] = student
 info['review_state'] = wf.getInfoFor(student,'review_state',None)
-#info['app'] = student.application
-#info['app_doc'] = student.application.getContent()
+info['app'] = student.application
+info['app_doc'] = student.application.getContent()
 info['clear'] = student.clearance
 info['clear_doc'] = student.clearance.getContent()
Index: /WAeUP_SRP/trunk/skins/waeup_student/start_clearance.py
===================================================================
--- /WAeUP_SRP/trunk/skins/waeup_student/start_clearance.py	(revision 1140)
+++ /WAeUP_SRP/trunk/skins/waeup_student/start_clearance.py	(revision 1141)
@@ -10,16 +10,15 @@
 logger = logging.getLogger('Student.Clearance.Start')
 
-type_name = 'Student'
+#type_name = 'Student'
+#ti = context.portal_types[type_name]
+#request.set('type_name',type_name)
+#wf = context.portal_workflow
 request=REQUEST
-ti = context.portal_types[type_name]
-request.set('type_name',type_name)
 redirect = request.RESPONSE.redirect
-wf = context.portal_workflow
 validate = REQUEST.has_key("cpsdocument_create_button")
+lt = context.portal_layouts
+#pr = context.portal_registration
 
-lt = context.portal_layouts
-pr = context.portal_registration
-
-info = context.getStudentInfo()
+info = context.getClearanceInfo()
 if info is None:
     member_id = str(context.portal_membership.getAuthenticatedMember())
@@ -44,4 +43,5 @@
                                  lastlayout = True,
                                  ds = ds,
+                                 info = info,
                                  )
 error = False
@@ -68,4 +68,5 @@
                                  lastlayout = True,
                                  ds = ds,
+                                 info = info,
                                  )
 session.set("clicked","clicked")
