Fixed misnamed function parameter.
authorJanusz Dobrowolski <janusz@frontaccounting.eu>
Tue, 12 Jan 2010 15:13:50 +0000 (15:13 +0000)
committerJanusz Dobrowolski <janusz@frontaccounting.eu>
Tue, 12 Jan 2010 15:13:50 +0000 (15:13 +0000)
sales/inquiry/sales_deliveries_view.php

index 2069703bdccad07e76d9f11bd4dda3f58966f26d..6eafd7ad7f9d27f3e583f0ff58e6154dbbf7e8c9 100644 (file)
@@ -168,7 +168,7 @@ function check_overdue($row)
                        $row["Outstanding"]!=0;
 }
 //------------------------------------------------------------------------------------------------
-$sql = get_sql_for_sales_deliveries_view($selected_customer, $selected_stock_id);
+$sql = get_sql_for_sales_deliveries_view($selected_customer, $selected_stock_item);
 
 $cols = array(
                _("Delivery #") => array('fun'=>'trans_view'),