From: Thomas Mudrunka Date: Wed, 11 Apr 2012 17:51:08 +0000 (+0200) Subject: Location v prodeji X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=51630db6070ae1482106b1872d62f38c82b835d4;p=mirrors%2FSokoMan.git Location v prodeji --- diff --git a/assistants/sell.inc.php b/assistants/sell.inc.php index e79e234..ecdd3c6 100644 --- a/assistants/sell.inc.php +++ b/assistants/sell.inc.php @@ -42,7 +42,7 @@ switch($SUBPATH[0]) { $current[$item_id]['item_date_sold'] = date('Y-m-d'); $hide_cols = $hide_cols_common; } else { - $hide_cols = array_merge($hide_cols_common,array('item_price_out','item_note','item_customer','item_date_sold')); + $hide_cols = array_merge($hide_cols_common,array('item_price_out','item_note','item_customer','item_date_sold','location_id')); $quantity_removed = $_GET['quantity']; if($quantity_removed <= 0) $this->post_redirect_get("$URL_INTERNAL/1","Can't dispose non-possitive amount of items!"); if(!is_numeric($quantity_removed)) $quantity_removed = 1;