- //MySQL Backup and Restore Settings
-
-if(isset($_SESSION["wa_current_user"])) {
- define("BACKUP_PATH", $comp_path.'/'.user_company()."/backup/");
-}
- // static js files path
- $js_path = $path_to_root.'/js/';
- // standard external js scripts included in all files
- $js_static = array('JsHttpRequest.js', 'behaviour.js', 'utils.js', 'inserts.js');
- // 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");
-}
-
-?>
\ No newline at end of file
+/*
+ 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;
+
+/*
+ Optional backup path. Use %s in place of company number.
+ If not defined $comp_path/%s/backup/ is used.
+*/
+// $backup_path = dirname(__FILE__).'/company/%s/backup/';
+
+/*
+ Optional popup search enabled if this is true.
+ $max_rows_in_search = 10 is used for maximum rows in search
+*/
+ $use_popup_search = true;
+ $max_rows_in_search = 10;