Predpokladana a Doporucena cena pro debily (wolfuv pozadavek)
[mirrors/SokoMan.git] / assistants / stats / roster.inc.php
CommitLineData
2046cc61
TM
1<?php
2$queries += array(
8c2cdf05 3 "Inventurni soupiska věcí se seriáky (Warehouse roster countable)"=>
eca3fc1d 4 "select model_id, model_name, barcode_name, COUNT(item_serial), GROUP_CONCAT(item_serial separator ', ') from item LEFT JOIN barcode USING(barcode_id) LEFT JOIN model USING(model_id) WHERE item_valid_till=0 AND status_id=1 AND model_countable=1 GROUP BY model_id ORDER BY model_name",
8c2cdf05 5 "Inventurni soupiska věcí na počet (Warehouse roster uncountable)"=>
eca3fc1d 6 "select model_id, model_name, barcode_name, SUM(item_quantity) from item LEFT JOIN barcode USING(barcode_id) LEFT JOIN model USING(model_id) WHERE item_valid_till=0 AND status_id=1 AND model_countable=0 GROUP BY model_id ORDER BY model_name"
2046cc61 7);
This page took 0.22091 seconds and 4 git commands to generate.