X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=inventory%2Fpurchasing_data.php;h=8a1b4c0f2cef176859066345ddaa965f5a141791;hb=412b79dc32855f813d03a8a6dd9debd45bb308f5;hp=0fd952dc5ceaafa026440b981e7e1cdbd28950e1;hpb=ddfd301aaab1897a4440fc3d779d23766bf7ce5c;p=fa-stable.git diff --git a/inventory/purchasing_data.php b/inventory/purchasing_data.php index 0fd952dc..8a1b4c0f 100644 --- a/inventory/purchasing_data.php +++ b/inventory/purchasing_data.php @@ -106,7 +106,8 @@ if (isset($_GET['Delete'])) display_note(_("The purchasing data item has been sucessfully deleted.")); unset ($supplier_id); } - +if (isset($_POST['_stock_id_update'])) + $Ajax->activate('price_table'); //-------------------------------------------------------------------------------------------------- start_form(false, true); @@ -137,7 +138,7 @@ else WHERE stock_id = '" . $_POST['stock_id'] . "'"; $result = db_query($sql, "The supplier purchasing details for the selected part could not be retrieved"); - + div_start('price_table'); if (db_num_rows($result) == 0) { display_note(_("There is no purchasing data set up for the part selected")); @@ -176,6 +177,7 @@ else end_table(); } + div_end(); } //------------------------------------------------------------------------------------------------