X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=inventory%2Fadjustments.php;h=384dd30ce63bb4adc2e674a1f509b56b44a3420c;hb=c7677cfbba820ec8d7a6f224d51fe64d4850a2a3;hp=20ac09d1971bb7fcc51ec29005663fcfb0f4859b;hpb=d2cc0860eccf02eaefcd90731ac3af141a841529;p=fa-stable.git diff --git a/inventory/adjustments.php b/inventory/adjustments.php index 20ac09d1..384dd30c 100644 --- a/inventory/adjustments.php +++ b/inventory/adjustments.php @@ -67,7 +67,7 @@ function handle_new_order() unset ($_SESSION['adj_items']); } - session_register("adj_items"); + //session_register("adj_items"); $_SESSION['adj_items'] = new items_cart(ST_INVADJUST); $_POST['AdjDate'] = new_doc_date(); @@ -111,7 +111,7 @@ function can_process() } elseif (!is_date_in_fiscalyear($_POST['AdjDate'])) { - display_error(_("The entered date is not in fiscal year.")); + display_error(_("The entered date is out of fiscal year or is closed for further data entry.")); set_focus('AdjDate'); return false; } else { @@ -223,7 +223,7 @@ start_form(); display_order_header($_SESSION['adj_items']); -start_outer_table("$table_style width=70%", 10); +start_outer_table(TABLESTYLE, "width=70%", 10); display_adjustment_items(_("Adjustment Items"), $_SESSION['adj_items']); adjustment_options_controls();