Index: /main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/accesscodes.py
===================================================================
--- /main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/accesscodes.py	(revision 6438)
+++ /main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/accesscodes.py	(revision 6439)
@@ -170,5 +170,6 @@
             )
         writer = csv.writer(open(csv_path, 'w'), quoting=csv.QUOTE_ALL)
-        writer.writerow(['prefix', 'serial', 'ac', 'date'])
+        writer.writerow(['prefix', 'serial', 'ac', 'used',
+                         'disabled', 'history'])
         writer.writerow([self.prefix, '%0.2f' % self.cost, str(self.num),
                          str(self.entry_num)])
@@ -179,4 +180,6 @@
             writer.writerow([
                     self.prefix, value.batch_serial, value.representation,
+                    value.used and '1' or '0', value.disabled and '1' or '0',
+                    value.history
                     ])
         return os.path.basename(csv_path)
Index: /main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/browser.txt
===================================================================
--- /main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/browser.txt	(revision 6438)
+++ /main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/browser.txt	(revision 6439)
@@ -303,12 +303,12 @@
 and have a slightly different format therefore.
 
-    >>> archive_file = os.path.join(ac_storage, 
+    >>> archive_file = os.path.join(ac_storage,
     ...                             sorted(os.listdir(ac_storage))[-2])
     >>> print open(archive_file, 'rb').read()
-    "prefix","serial","ac","student","date"
+    "prefix","serial","ac","used","disabled","history"
     "BLA","19.12","1","3"
-    "BLA","0","BLA-1-<10-DIGITS>","","..."
-    "BLA","1","BLA-1-<10-DIGITS>","",""
-    "BLA","2","BLA-1-<10-DIGITS>","",""
+    "BLA","0","BLA-1-<10-DIGITS>","0","0","..."
+    "BLA","1","BLA-1-<10-DIGITS>","0","0","..."
+    "BLA","2","BLA-1-<10-DIGITS>","0","0","..."
 
 Clean up:
