Index: /mods/mod_gutschein/wpsg_voucher.php
===================================================================
--- /mods/mod_gutschein/wpsg_voucher.php	(revision 6557)
+++ /mods/mod_gutschein/wpsg_voucher.php	(revision 6558)
@@ -34,6 +34,6 @@
         {
 
-            return 14;
-
+			return intval($this->db->fetchOne("SELECT COUNT(*) FROM `".WPSG_TBL_ORDER."` WHERE `gs_id` = '".wpsg_q($this->id)."' "));
+			
         }
 
@@ -41,5 +41,30 @@
         {
 
-            return "TODO";
+			if ($this->multi === '1')
+			{
+				
+				if (current_time('timestamp') < strtotime($this->start_date) || current_time('timestamp') > strtotime($this->end_date))
+				{
+					
+					if ($this->getUsed() > 0) return __('Verbraucht', 'wpsg');
+					else return __('Inaktiv', 'wpsg');
+					
+				}
+				else return __('Aktiv', 'wpsg');
+				
+			}
+			else
+			{
+				
+				if ($this->getUsed() > 0) return __('Verbraucht', 'wpsg');
+				else
+				{
+				
+					if (current_time('timestamp') < strtotime($this->start_date) || current_time('timestamp') > strtotime($this->end_date)) return __('Inaktiv', 'wpsg');
+					else return __('Aktiv', 'wpsg');
+					
+				}
+				
+			}
 
         }
