Removed many global variables from config.default.php to GL Setup, Company Setup...
[fa-stable.git] / config.default.php
index df15f21f82a1e0b0f85df295e48670c4e580fac1..1275e2fb67bbe184d75dd6213d0353077523f421 100644 (file)
@@ -71,24 +71,15 @@ if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_
        /* No check on edit conflicts. Maybe needed to be set to 1 in certains Windows Servers */
        $no_check_edit_conflicts = 0;
        
-       /* Do not print zero lines amount of 0.00 in Sales Documents if service item. 1 = do not */
-       $no_zero_lines_amount = 1;
-
        /* Use icon for editkey (=true) right of combobox. 1 = use, 0 = do not use */
        $use_icon_for_editkey = 0;
 
        /* Creates automatic a default branch with contact. Value 0 do not create auto branch */
        $auto_create_branch = 1;
 
-       /* Save Report selections (a value > 0 means days to save. 0 = no save) */
-       $save_report_selections = 0;
-
        /* use popup windows for views */
        $use_popup_windows = 1;
 
-       /* use date picker for all date fields */
-       $use_date_picker = 1;
-
        /* use Audit Trails in GL */
        /* This variable is deprecated. Setting this to 1, will stamp the user name in the memo fields in GL */
        /* This has been superseded with built in Audit Trail */
@@ -103,15 +94,6 @@ if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_
        /* show users online discretely in the footer */
        $show_users_online = 0;
 
-       /* show item codes on purchase order */
-       $show_po_item_codes = 0;
-
-       /* 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
@@ -126,26 +108,10 @@ if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_
        /* per user data/cache directory */
        $comp_path = $path_to_root.'/company';
 
-       /* allow alpha characters in accounts. 0 = numeric, 1 = alpha numeric, 2 = uppercase alpha numeric */
-       $accounts_alpha = 0;
-
        /* Date systems. 0 = traditional, 1 = Jalali used by Iran, nabour countries, Afghanistan and some other Central Asian nations,
        2 = Islamic used by other arabic nations. 3 = traditional, but where non-workday is Friday and start of week is Saturday */
        $date_system = 0;
 
-       /* email stock location if order below reorder-level */
-       /* Remember to set an email on the Location(s). */
-       $loc_notification = 0;
-
-       /* print_invoice_no. 0 = print reference number, 1 = print invoice number */
-       $print_invoice_no = 0;
-
-       /* 1 = print Subtotal tax excluded, tax and Total tax included */
-       $alternative_tax_include_on_docs = 0;
-
-       /* suppress tax rates on documents. 0 = no, 1 = yes. */
-       $suppress_tax_rates = 0;
-
        /* allow reopening closed transactions */
        $allow_gl_reopen = 0;
 
@@ -176,9 +142,9 @@ if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_
 
        $config_allocation_settled_allowance = 0.005;
 
-       /* Allow negative prices for dummy/service items. To be moved to GL db settings */
-       $allow_negative_prices = 1;
-
+       /* Show average costed values instead of fixed standard cost in report, Inventory Valuation Report */
+       $use_costed_values = 0; 
+       
        /* Show menu category icons in core themes */
        $show_menu_category_icons = 1;
        
@@ -201,6 +167,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