Merged latest changes from stable branch.
[fa-stable.git] / config.default.php
index 5b6a0bc69e2edf57f9930ed10fea4c93cb0437b6..398c0863dfe87ee10b7aad953947e575ce1852ac 100644 (file)
@@ -233,30 +233,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 +261,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
 */