From af2791db6c38b4e44425b69e909dc330d615f269 Mon Sep 17 00:00:00 2001 From: Thomas Mudrunka Date: Tue, 22 Nov 2011 17:48:20 +0100 Subject: [PATCH] Prodejni ceny ve statistikach --- assistants/stats.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'. -- 2.30.2