X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=inventory%2Fadjustments.php;h=fe72039205790b54bec9e627f23c44a552407daa;hb=9044444ee1933dc684c6aab26ac718e65ce8c370;hp=9dbe1ea6623f42657193d6d45e7977cd43578079;hpb=d4bcee971cf7ea37e2afc9d6abeb16d00af20de8;p=fa-stable.git diff --git a/inventory/adjustments.php b/inventory/adjustments.php index 9dbe1ea6..fe720392 100644 --- a/inventory/adjustments.php +++ b/inventory/adjustments.php @@ -47,7 +47,7 @@ if (isset($_GET['AddedID'])) $row = db_fetch($result); if (is_fixed_asset($row['mb_flag'])) { - display_notification_centered(_("FA disposal has been processed")); + display_notification_centered(_("Fixed Assets disposal has been processed")); display_note(get_trans_view_str($trans_type, $trans_no, _("&View this disposal"))); display_note(get_gl_view_str($trans_type, $trans_no, _("View the GL &Postings for this Disposal")), 1, 0); @@ -210,13 +210,16 @@ $id = find_submit('Delete'); if ($id != -1) handle_delete_item($id); -if (isset($_POST['AddItem']) && check_item_data()) +if (isset($_POST['AddItem']) && check_item_data()) { handle_new_item(); - -if (isset($_POST['UpdateItem']) && check_item_data()) + unset($_POST['selected_id']); +} +if (isset($_POST['UpdateItem']) && check_item_data()) { handle_update_item(); - + unset($_POST['selected_id']); +} if (isset($_POST['CancelItemChanges'])) { + unset($_POST['selected_id']); line_start_focus(); } //-----------------------------------------------------------------------------------------------