Bug. is_date_closed() should be performed before is_date_in_fiscalyears().
[fa-stable.git] / admin / void_transaction.php
index 13f1e439df8f7b7b2712dd007f61846a1fef6310..f490cb237fe8b195e6073e39e3b927bdd0ab19a1 100644 (file)
@@ -250,7 +250,7 @@ function check_valid_entries()
        }
        if (!is_date_in_fiscalyear($_POST['date_']))
        {
-               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('date_');
                return false;
        }