X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=config.default.php;h=c9651dd6ef07d167276233e22575b0f02866aa58;hb=b0c4c9777f9574e9c2805fddc2a12576d75d94ce;hp=5b6a0bc69e2edf57f9930ed10fea4c93cb0437b6;hpb=53d942f2a0d20cce5e9c409c6485867ce0869e4d;p=fa-stable.git diff --git a/config.default.php b/config.default.php index 5b6a0bc6..c9651dd6 100644 --- a/config.default.php +++ b/config.default.php @@ -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,11 +142,11 @@ 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 = 0; + $show_menu_category_icons = 1; // Internal configurable variables //----------------------------------------------------------------------------------- @@ -189,6 +155,9 @@ 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; + /* for uploaded item pictures */ $pic_width = 80; $pic_height = 50; @@ -198,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 @@ -233,30 +205,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"); - define("ICON_CLOSED", "closed.png"); -} - /* Display a dropdown select box for choosing Company to login if false. Show a blank editbox only if true where the Company NickName @@ -285,6 +233,12 @@ $login_max_attempts = 10; $xr_providers = array("ECB", "YAHOO", "GOOGLE", "BLOOMBERG"); $dflt_xr_provider = 0; +/* + 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 */ @@ -296,4 +250,3 @@ $sort_sales_items = false; */ $clear_trial_balance_opening = false; -?>