From: Thomas Mudrunka Date: Tue, 22 Nov 2011 16:48:20 +0000 (+0100) Subject: Prodejni ceny ve statistikach X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=af2791db6c38b4e44425b69e909dc330d615f269;p=mirrors%2FSokoMan.git Prodejni ceny ve statistikach --- diff --git a/assistants/stats.inc.php b/assistants/stats.inc.php index ea294cc..e46a666 100644 --- a/assistants/stats.inc.php +++ b/assistants/stats.inc.php @@ -34,8 +34,8 @@ $queries = array( //TODO: use build_query_select()!!! ' GROUP BY model_id,room_id'. ' HAVING SUM(item_quantity) 'SELECT room_id,room_name,model_id,model_name,model_barcode,COUNT(item_id),SUM(item_quantity)'. + "Ceník + Počet kusů skladem" + => 'SELECT room_id,room_name,model_id,model_name,model_barcode,model_price_out,COUNT(item_id),SUM(item_quantity)'. ' FROM item LEFT JOIN model USING(model_id) LEFT JOIN room USING(room_id)'. ' WHERE item_valid_till=0 AND status_id=1'. ' GROUP BY model_id,room_id'.