Merged last changes from stable.
[fa-stable.git] / purchasing / po_receive_items.php
index f80130e6402cea4caaf3a7b8eab51a09aefe6bfe..d2697de9c389ea45e3ece41a09f79c49139cc5a7 100644 (file)
@@ -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;
        }