X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=inventory%2Fpurchasing_data.php;h=4ba08be567d1801bb451917a8d3ade364a52a73d;hb=da0f29ef8eb73e7a3cf6484af8fd04726e0e5ef1;hp=3e2f77b6733feb1fccc7aa9d7a7e642f1e68abd5;hpb=f12dbe7523bb1abc6cd69b009ef8f0be838f5348;p=fa-stable.git diff --git a/inventory/purchasing_data.php b/inventory/purchasing_data.php index 3e2f77b6..4ba08be5 100644 --- a/inventory/purchasing_data.php +++ b/inventory/purchasing_data.php @@ -1,4 +1,14 @@ . +***********************************************************************/ $page_security = 4; $path_to_root=".."; include_once($path_to_root . "/includes/session.inc"); @@ -106,7 +116,7 @@ if (list_updated('stock_id')) $Ajax->activate('price_table'); //-------------------------------------------------------------------------------------------------- -start_form(false, true); +start_form(); if (!isset($_POST['stock_id'])) $_POST['stock_id'] = get_global_stock_item(); @@ -160,7 +170,7 @@ else label_cell($myrow["suppliers_uom"]); label_cell($myrow["supplier_description"]); edit_button_cell("Edit".$myrow['supplier_id'], _("Edit")); - edit_button_cell("Delete".$myrow['supplier_id'], _("Delete")); + delete_button_cell("Delete".$myrow['supplier_id'], _("Delete")); end_row(); $j++; @@ -223,7 +233,7 @@ text_row(_("Supplier's Code or Description:"), 'supplier_description', null, 50, end_table(1); -submit_add_or_update_center($selected_id == -1, '', true); +submit_add_or_update_center($selected_id == -1, '', 'both'); end_form(); end_page();