Incorrect Journal Balance (sales invoice) when many decimals in tax and price.
[fa-stable.git] / config.default.php
index acd3ddc62b4d6bec2a5ea0b3539bcc78d5b71627..37fcd7360af39787c1cb7fc50460f7b72780d421 100644 (file)
@@ -150,8 +150,7 @@ if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_
        $graph_skin     = 1;
 
        /* UTF-8 font for Business Graphics. Copy it to /reporting/fonts/ folder. */
-       $UTF8_fontfile  = "FreeSans.ttf";
-       //$UTF8_fontfile        = "zarnormal.ttf"; // for Arabic Dashboard
+       $UTF8_fontfile  = isset($_SESSION['language']) && $_SESSION['language']->dir == 'rtl' ? "zarnormal.ttf" : "FreeSans.ttf"; // for  Dashboard
 
 /* 
        Display a dropdown select box for choosing Company to login if false.