Index: main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py
===================================================================
--- main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py	(revision 13008)
+++ main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py	(revision 13012)
@@ -1741,5 +1741,4 @@
             self.flash(error, type="danger")
             return
-        payment.created_online = True
         self.context[payment.p_id] = payment
         self.flash(_('Payment ticket created.'))
@@ -1781,5 +1780,4 @@
             self.flash(error, type="danger")
             return
-        payment.created_online = True
         self.context[payment.p_id] = payment
         self.flash(_('Payment ticket created.'))
Index: main/waeup.kofa/trunk/src/waeup/kofa/students/interfaces.py
===================================================================
--- main/waeup.kofa/trunk/src/waeup/kofa/students/interfaces.py	(revision 13008)
+++ main/waeup.kofa/trunk/src/waeup/kofa/students/interfaces.py	(revision 13012)
@@ -739,4 +739,11 @@
     """
     bed = Attribute('The bed object.')
+    booking_date = Attribute('Date of booking the bed')
+
+    display_coordinates = schema.TextLine(
+        title = _(u'Allocated Bed'),
+        required = False,
+        readonly = True,
+        )
 
     bed_coordinates = schema.TextLine(
@@ -746,10 +753,4 @@
         )
 
-    display_coordinates = schema.TextLine(
-        title = _(u'Allocated Bed'),
-        required = False,
-        readonly = True,
-        )
-
     bed_type = schema.TextLine(
         title = _(u'Requested Bed Type'),
@@ -778,5 +779,6 @@
 
     def getSessionString():
-        """Returns the title of academic_sessions_vocab term.
+        """Returns the title of academic_sessions_vocab term of the session
+        when the bed was booked.
         """
 
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 13008)
+++ main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py	(revision 13012)
@@ -904,5 +904,4 @@
                            self.browser.contents)
         self.assertEqual(self.student['payments'][value].amount_auth, 40000.0)
-        self.assertEqual(self.student['payments'][value].created_online, True)
         payment_url = self.browser.url
         logfile = os.path.join(
Index: main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_export.py
===================================================================
--- main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_export.py	(revision 13008)
+++ main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_export.py	(revision 13012)
@@ -744,9 +744,9 @@
         self.assertEqual(
             result,
-            'ac,amount_auth,created_online,creation_date,p_category,p_current,p_id,'
+            'ac,amount_auth,creation_date,p_category,p_current,p_id,'
             'p_item,p_level,p_session,p_state,payment_date,r_amount_approved,'
             'r_code,r_desc,student_id,state,current_session\r\n'
 
-            ',0.0,0,2012-04-01 13:12:01#,,1,,,,,unpaid,,0.0,,,,,\r\n'
+            ',0.0,2012-04-01 13:12:01#,,1,,,,,unpaid,,0.0,,,,,\r\n'
             )
         return
@@ -762,9 +762,9 @@
         self.assertEqual(
             result,
-            'ac,amount_auth,created_online,creation_date,p_category,p_current,p_id,'
+            'ac,amount_auth,creation_date,p_category,p_current,p_id,'
             'p_item,p_level,p_session,p_state,payment_date,r_amount_approved,'
             'r_code,r_desc,student_id,state,current_session\r\n'
 
-            '666,12.12,0,2012-04-01 13:12:01#,schoolfee,1,my-id,'
+            '666,12.12,2012-04-01 13:12:01#,schoolfee,1,my-id,'
             'p-item,100,2012,paid,2012-04-01 14:12:01#,12.12,'
             'r-code,,A111111,created,2012\r\n'
@@ -781,9 +781,9 @@
         self.assertEqual(
             result,
-            'ac,amount_auth,created_online,creation_date,p_category,p_current,p_id,'
+            'ac,amount_auth,creation_date,p_category,p_current,p_id,'
             'p_item,p_level,p_session,p_state,payment_date,r_amount_approved,'
             'r_code,r_desc,student_id,state,current_session\r\n'
 
-            '666,12.12,0,2012-04-01 13:12:01#,schoolfee,1,my-id,'
+            '666,12.12,2012-04-01 13:12:01#,schoolfee,1,my-id,'
             'p-item,100,2012,paid,2012-04-01 14:12:01#,12.12,'
             'r-code,,A111111,created,2012\r\n'
@@ -800,9 +800,9 @@
         self.assertEqual(
             result,
-            'ac,amount_auth,created_online,creation_date,p_category,p_current,p_id,'
+            'ac,amount_auth,creation_date,p_category,p_current,p_id,'
             'p_item,p_level,p_session,p_state,payment_date,r_amount_approved,'
             'r_code,r_desc,student_id,state,current_session\r\n'
 
-            '666,12.12,0,2012-04-01 13:12:01#,schoolfee,1,my-id,'
+            '666,12.12,2012-04-01 13:12:01#,schoolfee,1,my-id,'
             'p-item,100,2012,paid,2012-04-01 14:12:01#,12.12,'
             'r-code,,A111111,created,2012\r\n'
@@ -822,9 +822,9 @@
         self.assertEqual(
             result,
-            'ac,amount_auth,created_online,creation_date,p_category,p_current,p_id,'
+            'ac,amount_auth,creation_date,p_category,p_current,p_id,'
             'p_item,p_level,p_session,p_state,payment_date,r_amount_approved,'
             'r_code,r_desc,student_id,state,current_session\r\n'
 
-            '666,12.12,0,2012-04-01 13:12:01#,schoolfee,1,my-id,'
+            '666,12.12,2012-04-01 13:12:01#,schoolfee,1,my-id,'
             'p-item,100,2012,paid,2012-04-01 14:12:01#,12.12,'
             'r-code,,A111111,created,2012\r\n'
@@ -857,9 +857,9 @@
         self.assertEqual(
             result,
-            'ac,amount_auth,created_online,creation_date,p_category,p_current,p_id,'
+            'ac,amount_auth,creation_date,p_category,p_current,p_id,'
             'p_item,p_level,p_session,p_state,payment_date,r_amount_approved,'
             'r_code,r_desc,student_id,state,current_session\r\n'
 
-            '666,12.12,0,2012-04-01 13:12:01#,schoolfee,1,my-id,'
+            '666,12.12,2012-04-01 13:12:01#,schoolfee,1,my-id,'
             'p-item,100,2012,paid,2012-04-01 14:12:01#,12.12,'
             'r-code,,A111111,created,2012\r\n'
@@ -873,5 +873,5 @@
         self.assertEqual(
             result,
-            'ac,amount_auth,created_online,creation_date,p_category,p_current,p_id,'
+            'ac,amount_auth,creation_date,p_category,p_current,p_id,'
             'p_item,p_level,p_session,p_state,payment_date,r_amount_approved,'
             'r_code,r_desc,student_id,state,current_session\r\n'
@@ -884,5 +884,5 @@
         self.assertEqual(
             result,
-            'ac,amount_auth,created_online,creation_date,p_category,p_current,p_id,'
+            'ac,amount_auth,creation_date,p_category,p_current,p_id,'
             'p_item,p_level,p_session,p_state,payment_date,r_amount_approved,'
             'r_code,r_desc,student_id,state,current_session\r\n'
@@ -917,5 +917,5 @@
         self.assertEqual(
             result,
-            'ac,amount_auth,created_online,creation_date,p_category,p_current,p_id,'
+            'ac,amount_auth,creation_date,p_category,p_current,p_id,'
             'p_item,p_level,p_session,p_state,payment_date,r_amount_approved,'
             'r_code,r_desc,student_id,state,current_session\r\n'
@@ -927,9 +927,9 @@
         self.assertEqual(
             result,
-            'ac,amount_auth,created_online,creation_date,p_category,p_current,p_id,'
+            'ac,amount_auth,creation_date,p_category,p_current,p_id,'
             'p_item,p_level,p_session,p_state,payment_date,r_amount_approved,'
             'r_code,r_desc,student_id,state,current_session\r\n'
 
-            '666,12.12,0,2012-04-01 13:12:01#,schoolfee,1,my-id,'
+            '666,12.12,2012-04-01 13:12:01#,schoolfee,1,my-id,'
             'p-item,100,2012,unpaid,2012-04-01 14:12:01#,12.12,'
             'r-code,,A111111,created,2012\r\n'
@@ -955,10 +955,10 @@
         self.assertEqual(
             result,
-            'ac,amount_auth,created_online,creation_date,p_category,p_current,p_id,p_item,'
+            'ac,amount_auth,creation_date,p_category,p_current,p_id,p_item,'
             'p_level,p_session,p_state,payment_date,r_amount_approved,r_code,'
             'r_desc,student_id,matric_number,reg_number,firstname,middlename,lastname,'
             'state,current_session,entry_session,entry_mode,faccode,depcode,certcode\r\n'
 
-            '666,12.12,0,2012-04-01 13:12:01#,schoolfee,1,my-id,p-item,100,2012,'
+            '666,12.12,2012-04-01 13:12:01#,schoolfee,1,my-id,p-item,100,2012,'
             'paid,2012-04-01 14:12:01#,12.12,r-code,,A111111,234,123,'
             'Anna,M.,Tester,created,2012,2010,ug_ft,NA,NA,CERT1\r\n'
