Fixed edtable item selector in prices.php
authorJanusz Dobrowolski <janusz@frontaccounting.eu>
Wed, 3 Feb 2010 18:05:58 +0000 (18:05 +0000)
committerJanusz Dobrowolski <janusz@frontaccounting.eu>
Wed, 3 Feb 2010 18:05:58 +0000 (18:05 +0000)
CHANGELOG.txt
inventory/prices.php

index 29a9d6d1c74fb91523f894721f15b23b37c6ef3a..a0afe47869f874935f80af83e88dbffb3255c68b 100644 (file)
@@ -22,6 +22,8 @@ $ -> Affected files
 02-Feb-2010 Janusz Dobrowolski
 # Payment terms were not retrieved atinvoice edit start.
 $ /sales/customer_invoice.php
+# Fixed item selector.
+$ /inventory/prices.php
 
 02-Feb-2010 Janusz Dobrowolski
 # Missing closing bracket
index 56034cbb033e08fa2cf2bd1ddd0fbb80fd301f35..8666a05f08f20fd2c2cf72e59b5e5119d64f7bcf 100644 (file)
@@ -54,7 +54,7 @@ if (!isset($_POST['stock_id']))
        $_POST['stock_id'] = get_global_stock_item();
 
 echo "<center>" . _("Item:"). "&nbsp;";
-echo sales_items_list('stock_id', $_POST['stock_id'], false, true, '', array('random_entry' => false));
+echo sales_items_list('stock_id', $_POST['stock_id'], false, true, '', array('editable' => false));
 echo "<hr></center>";
 
 set_global_stock_item($_POST['stock_id']);