Release 2.3.25.
[fa-stable.git] / config.default.php
index 2139177603e240a96dbca66a58049088bd3d8f48..5462943545f6afafb17a8a8403a3a2bac05442e8 100644 (file)
@@ -109,6 +109,9 @@ if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_
        /* default print destination. 0 = PDF/Printer, 1 = Excel */
        $def_print_destination = 0;
 
+       /* default print orientation. 0 = Portrait, 1 = Landscape */
+       $def_print_orientation = 0;
+
        // Wiki context help configuration
        // If your help wiki use translated page titles uncomment next line
        // $old_style_help = 1; // this setting is depreciated and subject to removal in next FA versions
@@ -170,6 +173,9 @@ if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_
 
        $config_allocation_settled_allowance = 0.005;
 
+       /* Show average costed values instead of fixed standard cost in report, Inventory Valuation Report */
+       $use_costed_values = 0; 
+       
        /* Allow negative prices for dummy/service items. To be moved to GL db settings */
        $allow_negative_prices = 1;
 
@@ -183,6 +189,12 @@ if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_
 
        $allow_demo_mode = false;
 
+    /* Whether to allow sending new password by e-mail */
+    $allow_password_reset = false;
+
+    /* Print Item Images on Sales Quotations. Set to 1 if so. */
+    $print_item_images_on_quote = 0;
+
        /* for uploaded item pictures */
        $pic_width              = 80;
        $pic_height     = 50;
@@ -192,6 +204,9 @@ if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_
           Pallete skin attributes set in reporting/includes/class.graphic.inc */
        $graph_skin     = 1;
 
+       /* UTF-8 font for Business Graphics. Copy it to /reporting/fonts/ folder. */
+       $UTF8_fontfile  = "FreeSans.ttf";
+
 /*     
        Before upgrade from pre-2.2 FA you have to move here your customized
        security roles definitions. If you have used standard roles, you
@@ -227,29 +242,6 @@ if(isset($_SESSION["wa_current_user"])) {
        // additional js source included in header
        $js_lib = $js_userlib = array();
 
-if (!defined('ICON_EDIT'))
-{
-       define("ICON_EDIT", "edit.gif");        
-       define("ICON_DELETE", "delete.gif");    
-       define("ICON_ADD", "ok.gif");   
-       define("ICON_UPDATE", "ok.gif");        
-       define("ICON_OK", "ok.gif");    
-       define("ICON_CANCEL", "cancel.png");    
-       define("ICON_GL", "gl.png");    
-       define("ICON_PRINT", "print.png");      
-       define("ICON_PDF", "pdf.gif");  
-       define("ICON_DOC", "invoice.gif");      
-       define("ICON_CREDIT", "credit.gif");    
-       define("ICON_RECEIVE", "receive.gif");  
-       define("ICON_DOWN", "download.gif");    
-       define("ICON_MONEY", "money.png");      
-       define("ICON_REMOVE", "remove.png");    
-       define("ICON_REPORT", "report.png");    
-       define("ICON_VIEW", "view.gif");        
-       define("ICON_SUBMIT", "ok.gif");
-       define("ICON_ESCAPE", "escape.png");    
-}
-
 /* 
        Display a dropdown select box for choosing Company to login if false.
        Show a blank editbox only if true where the Company NickName
@@ -278,4 +270,21 @@ $login_max_attempts = 10;
 $xr_providers = array("ECB", "YAHOO", "GOOGLE", "BLOOMBERG");
 $dflt_xr_provider = 0;
 
-?>
\ No newline at end of file
+/*
+       Set to true when remote service is authoritative source of exchange rates, and can be stored automatically without
+       manual edition. Otherwise exrate is stored on first new currency transaction of the day.
+*/
+$xr_provider_authoritative = false;
+
+/*
+       Optional sorting sales documents lines during edition according to item code
+*/
+$sort_sales_items = false;
+
+/*
+       Trial Balance opening balance presentation option.
+       When set to true past years part of opening balance is cleared.
+*/
+$clear_trial_balance_opening = false;
+
+?>