X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=purchasing%2Fpo_receive_items.php;h=d2697de9c389ea45e3ece41a09f79c49139cc5a7;hb=1571869d54be48452fdbe08f25130972ff0a7b5a;hp=f80130e6402cea4caaf3a7b8eab51a09aefe6bfe;hpb=327bdb5d6f9a11274f0bedd20e6c9d39276a5f8f;p=fa-stable.git diff --git a/purchasing/po_receive_items.php b/purchasing/po_receive_items.php index f80130e6..d2697de9 100644 --- a/purchasing/po_receive_items.php +++ b/purchasing/po_receive_items.php @@ -175,10 +175,8 @@ function can_process() set_focus('DefaultReceivedDate'); return false; } - - if (!is_date_in_fiscalyear($_POST['DefaultReceivedDate'])) - { - display_error(_("The entered date is not in fiscal year")); + if (!is_date_in_fiscalyear($_POST['DefaultReceivedDate'])) { + display_error(_("The entered date is out of fiscal year or is closed for further data entry.")); set_focus('DefaultReceivedDate'); return false; }