X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Finquiry%2Fsales_deliveries_view.php;h=d9a7af5aaf5af456279f990d2ce3133556c5b6d4;hb=2b2cbcfe6a448536113966cbb11b79eda73db5ab;hp=1c5f342d4cd653287e5ab7d6690ba2a7e1fdbf28;hpb=902f1015d874c33bd7946b17de2ad80b4f2144b6;p=fa-stable.git diff --git a/sales/inquiry/sales_deliveries_view.php b/sales/inquiry/sales_deliveries_view.php index 1c5f342d..d9a7af5a 100644 --- a/sales/inquiry/sales_deliveries_view.php +++ b/sales/inquiry/sales_deliveries_view.php @@ -119,7 +119,7 @@ end_form(); //--------------------------------------------------------------------------------------------- if (isset($_POST['SelectStockFromList']) && ($_POST['SelectStockFromList'] != "") && - ($_POST['SelectStockFromList'] != reserved_words::get_all())) + ($_POST['SelectStockFromList'] != ALL_TEXT)) { $selected_stock_item = $_POST['SelectStockFromList']; } @@ -218,7 +218,7 @@ else if (isset($selected_stock_item)) $sql .= " AND line.stock_id='". $selected_stock_item ."' "; - if (isset($_POST['StockLocation']) && $_POST['StockLocation'] != reserved_words::get_all()) + if (isset($_POST['StockLocation']) && $_POST['StockLocation'] != ALL_TEXT) $sql .= " AND sorder.from_stk_loc = '". $_POST['StockLocation'] . "' "; $sql .= " GROUP BY trans.trans_no ";