X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=inventory%2Fmanage%2Flocations.php;h=6728e1e53fb9f72100da2cc69cbdab0efad6f7d1;hb=2bcdab793e406bb5a44d2c4e079ec7cc2a1aa857;hp=2dae0a78cdd77cca0df92d63b6e6bd8661c357bf;hpb=fd069bba86276f15311ff6ab10b22d4a06a55513;p=fa-stable.git diff --git a/inventory/manage/locations.php b/inventory/manage/locations.php index 2dae0a78..6728e1e5 100644 --- a/inventory/manage/locations.php +++ b/inventory/manage/locations.php @@ -19,7 +19,7 @@ include_once($path_to_root . "/includes/ui.inc"); include_once($path_to_root . "/inventory/includes/inventory_db.inc"); if (isset($_GET['FixedAsset'])) { - $help_context = "FA Locations"; + $help_context = "Fixed Assets Locations"; $_POST['fixed_asset'] = 1; } else $help_context = "Inventory Locations"; @@ -59,7 +59,7 @@ if ($Mode=='ADD_ITEM' || $Mode=='UPDATE_ITEM') { update_item_location($selected_id, $_POST['location_name'], $_POST['delivery_address'], - $_POST['phone'], $_POST['phone2'], $_POST['fax'], $_POST['email'], $_POST['contact'], $_POST['fixed_asset']); + $_POST['phone'], $_POST['phone2'], $_POST['fax'], $_POST['email'], $_POST['contact'], check_value('fixed_asset')); display_notification(_('Selected location has been updated')); } else @@ -68,7 +68,7 @@ if ($Mode=='ADD_ITEM' || $Mode=='UPDATE_ITEM') /*selected_id is null cos no item selected on first time round so must be adding a record must be submitting new entries in the new Location form */ add_item_location($_POST['loc_code'], $_POST['location_name'], $_POST['delivery_address'], - $_POST['phone'], $_POST['phone2'], $_POST['fax'], $_POST['email'], $_POST['contact'], $_POST['fixed_asset']); + $_POST['phone'], $_POST['phone2'], $_POST['fax'], $_POST['email'], $_POST['contact'], check_value('fixed_asset')); display_notification(_('New location has been added')); }