Index: main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py
===================================================================
--- main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py	(revision 15246)
+++ main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py	(revision 15250)
@@ -2406,8 +2406,23 @@
             self.request, self.omit_fields)
         students_utils = getUtility(IStudentsUtils)
+        note = None
+        n = grok.getSite()['hostels'].allocation_expiration
+        if n:
+            note = """
+<br /><br /><br /><br /><br /><font size="12">
+Please endeavour to pay your hostel maintenance charge within ${a} days
+ of being allocated a space or else you are deemed to have
+ voluntarily forfeited it and it goes back into circulation to be
+ available for booking afresh!</font>
+"""
+            note = _(note, mapping={'a': n})
+            portal_language = getUtility(IKofaUtils).PORTAL_LANGUAGE
+            note = translate(
+                note, 'waeup.kofa', target_language=portal_language)
         return students_utils.renderPDF(
             self, 'bed_allocation_slip.pdf',
             self.context.student, studentview,
-            omit_fields=self.omit_fields)
+            omit_fields=self.omit_fields,
+            note=note)
 
 class BedTicketRelocationView(UtilityView, grok.View):
Index: main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py
===================================================================
--- main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py	(revision 15246)
+++ main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py	(revision 15250)
@@ -3270,4 +3270,5 @@
         bed.bed_type = u'regular_female_fr'
         self.app['hostels'][hostel.hostel_id].addBed(bed)
+        self.app['hostels'].allocation_expiration = 7
 
         self.browser.open(self.login_path)
@@ -3373,4 +3374,7 @@
         self.assertEqual(self.browser.headers['Status'], '200 Ok')
         self.assertEqual(self.browser.headers['Content-Type'], 'application/pdf')
+        path = os.path.join(samples_dir(), 'bed_allocation_slip.pdf')
+        open(path, 'wb').write(self.browser.contents)
+        print "Sample PDF bed_allocation_slip.pdf written to %s" % path
         # Students can't relocate themselves.
         self.assertFalse('Relocate' in self.browser.contents)
