X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=gl%2Fmanage%2Frevaluate_currencies.php;h=c05237ac9e72ca63db5a39a9351c895d04e7dd63;hb=3974cfebf97c03e07b0beb608ae63b84b1e0f908;hp=a35c4a91e177a99db8964bdedb32085354d01509;hpb=ea471f0c21d91b7b29ba03038015f67083df496f;p=fa-stable.git diff --git a/gl/manage/revaluate_currencies.php b/gl/manage/revaluate_currencies.php index a35c4a91..c05237ac 100644 --- a/gl/manage/revaluate_currencies.php +++ b/gl/manage/revaluate_currencies.php @@ -18,7 +18,7 @@ include_once($path_to_root . "/includes/ui.inc"); include_once($path_to_root . "/includes/banking.inc"); $js = ""; -if ($use_date_picker) +if (user_use_date_picker()) $js .= get_js_date_picker(); page(_($help_context = "Revaluation of Currency Accounts"), false, false, "", $js); @@ -56,7 +56,7 @@ function check_data() } 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; } @@ -129,4 +129,3 @@ display_reval(); end_page(); -?>