Roster s podporou audit-trails
authorThomas Mudrunka <tomas@mudrunka.cz>
Thu, 19 Jul 2012 17:48:28 +0000 (19:48 +0200)
committerThomas Mudrunka <tomas@mudrunka.cz>
Thu, 19 Jul 2012 17:48:28 +0000 (19:48 +0200)
assistants/stats/roster.inc.php

index 153c231c62add03c262484cd194dca99b8f1425e..d4b4d6ce26a9dd8ee8e1e4013edd352b84371731 100644 (file)
@@ -1,5 +1,5 @@
 <?php
 $queries += array(
        "Skladová soupiska (Warehouse roster)"=>
-               "select model_id, model_name, group_concat(item_serial separator ', ') from item LEFT JOIN model USING(model_id) GROUP BY model_id",
+               "select model_id, model_name, group_concat(item_serial separator ', ') from item LEFT JOIN model USING(model_id) WHERE item_valid_till=0 AND status_id=1 GROUP BY model_id",
 );
This page took 0.128467 seconds and 4 git commands to generate.