Sales invoice voiding is blocked when sales credit was issued against the invoice.
[fa-stable.git] / gl / manage / revaluate_currencies.php
index 050637d5f26cfee6b9646dc0420bec6a28a24130..c05237ac9e72ca63db5a39a9351c895d04e7dd63 100644 (file)
@@ -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);
 
@@ -129,4 +129,3 @@ display_reval();
 
 end_page();
 
-?>