! -> Note
$ -> Affected files
+13-Jun-2010 Merged changes from main trunk (2.2.10) as follows
+------------------------------- Release 2.2.10 ----------------------------------
+11-Jun-2010 Joe Hunt
+! Release 2.2.10
+$ config.default.php
+ update.html
+
+10-Jun-2010 Joe Hunt
+! Changed Wiki help url and site url in config.default.php
+$ config.default.php
+
+07-Jun-2010 Joe Hunt
+# HTML decode text when printing to Excel.
+$ /reporting/includes/excel_report.inc
+
+06-Jun-2010 Janusz Dobrowolski
+# False overallocation fixed.
+$ /includes/ui/allocation_cart.inc
++ Allowed optional long timeout on default/cancel/selector buttons
+$ /includes/ui/ui_input.inc
+ /js/behaviour.js
+ /js/inserts.js
+# Long ajax timeout on all reports
+$ /reporting/includes/reports_classes.inc
+# [0000232] Fixed list of related invoices/credits in SO view.
+$ /sales/view/view_sales_order.php
+# Small bug on final screen redirection
+$ /sales/customer_credit_invoice.php
+
+03-Jun-2010 Joe Hunt
+# Rounding bug when decimals greater than or equal to 6.
+$ /includes/current_user.inc
+
+31-May-2010 Joe Hunt
+# No limit on 30 days in Payment terms if end of month.
+$ /admin/payment_terms.php
+
+30-May-2010 Joe Hunt
+! Global variabel, $def_print_destination, config.php can be set to 0 or 1
+$ config.default.php
+ /reporting/includes/reports_classes.inc
+! copy line memo to next line in journal entries and bank payments/deposits
+$ /gl/includes/ui/gl_bank_ui.inc
+ /gl/includes/ui/gl_journal_ui.inc
+! Report GL Transactions now prints line memos
+$ /reporting/rep704.php
+
+29-May-2010 Janusz Dobrowolski
+# Smaller fixes initial COAs
+$ /sql/en_US-demo.sql
+ /sql/en_US-new.sql
+
+---------- End of changes from main trunk 2.2.7-2.2.9
+
05-Jun-2010 Joe Hunt
! Allowing SA_MULTIFISCALYEAR access to enter transactions on open fiscal years
$ /admin/db/fiscalyears_db.inc
$inpug_error = 1;
display_error( _("The Terms description must be entered."));
set_focus('terms');
- }
- elseif ($_POST['DayNumber'] > 30 && !check_value('DaysOrFoll'))
- {
- $inpug_error = 1;
- display_error( _("When the check box to indicate a day in the following month is the due date, the due date cannot be a day after the 30th. A number between 1 and 30 is expected."));
- set_focus('DayNumber');
- }
+ } // there should be no limits by 30 here if they want longer payment terms. Joe Hunt 2010-05-31
+ //elseif ($_POST['DayNumber'] > 30 && !check_value('DaysOrFoll'))
+ //{
+ // $inpug_error = 1;
+ // display_error( _("When the check box to indicate a day in the following month is the due date, the due date cannot be a day after the 30th. A number between 1 and 30 is expected."));
+ // set_focus('DayNumber');
+ //}
elseif ($_POST['DayNumber'] > 500 && check_value('DaysOrFoll'))
{
$inpug_error = 1;
// Main Title
$app_title = "FrontAccounting";
// application version
- $version = "2.3 CVS (m9)";
+ $version = "2.3 CVS (m10)";
// src-data compatibility check. Do not change.
$core_version = "2.3";
// Powered by
$power_by = "FrontAccounting";
- $power_url = "http://frontaccounting.net";
+ $power_url = "http://frontaccounting.com";
/* use popup windows for views */
$use_popup_windows = 1;
/* show users online discretely in the footer */
$show_users_online = 0;
+ /* default print destination. 0 = PDF/Printer, 1 = Excel */
+ $def_print_destination = 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
// locally installed wiki module
// $help_base_url = $path_to_root.'/modules/wiki/index.php?n='._('Help').'.';
// context help feed from frontaccounting.net
- // $help_base_url = 'http://frontaccounting.net/fawiki/index.php?n=Help.';
+ // $help_base_url = 'http://frontaccounting.com/fawiki/index.php?n=Help.';
// not used
$help_base_url = null;
$_POST['amount'] = price_format(0);
$_POST['dimension_id'] = 0;
$_POST['dimension2_id'] = 0;
- $_POST['LineMemo'] = "";
+ //$_POST['LineMemo'] = ""; // let memo go to next line Joe Hunt 2010-05-30
if(isset($_POST['_code_id_update'])) {
$Ajax->activate('code_id');
}
$_POST['AmountCredit'] = ''; //price_format(0);
$_POST['dimension_id'] = 0;
$_POST['dimension2_id'] = 0;
- $_POST['LineMemo'] = "";
+ //$_POST['LineMemo'] = ""; // let memo go to next line Joe Hunt 2010-05-30
$_POST['_code_id_edit'] = "";
$_POST['code_id'] = "";
if(isset($_POST['_code_id_update'])) {
function round2($number, $decimals=0)
{
- $delta = ($number < 0 ? -.000001 : .000001);
+ $delta = ($number < 0 ? -.0000000001 : .0000000001);
return round($number+$delta, $decimals);
}
$tsep = $thoseps[$_SESSION["wa_current_user"]->prefs->tho_sep()];
$dsep = $decseps[$_SESSION["wa_current_user"]->prefs->dec_sep()];
//return number_format($number, $decimals, $dsep, $tsep);
- $delta = ($number < 0 ? -.000001 : .000001);
+ $delta = ($number < 0 ? -.0000000001 : .0000000001);
return number_format($number+$delta, $decimals, $dsep, $tsep);
}
//
/*Now check to see that the AllocAmt is no greater than the
amount left to be allocated against the transaction under review */
- if (input_num('amount' . $counter) > get_post('un_allocated' . $counter))
+ if (input_num('amount' . $counter) > input_num('un_allocated' . $counter))
{
display_error(_("At least one transaction is overallocated."));
set_focus('amount'.$counter);
null - button visible only in fallback mode; optional icon
Ajax submit:
true - standard button; optional icon
- 'process' - displays progress bar during call; optional icon
+
'default' - default form submit on Ctrl-Enter press; dflt ICON_OK icon
'selector' - ditto with closing current popup editor window
'cancel' - cancel form entry on Escape press; dflt ICON_CANCEL
+ 'process' - displays progress bar during call; optional icon
+
+ $atype can contain also multiply type selectors separated by space,
+ however make sense only combination of 'process' and one of defualt/selector/cancel
*/
function submit($name, $value, $echo=true, $title=false, $atype=false, $icon=false)
{
global $path_to_root;
$aspect='';
- if (!is_bool($atype)) // necessary: switch uses '=='
- switch($atype) {
- case 'process':
- $aspect = " aspect='process'"; break;
- case 'selector':
- $aspect = " aspect='selector' rel = '$value'";
- $value = _("Select");
- if ($icon===false) $icon=ICON_SUBMIT; break;
- case 'default':
- $aspect = " aspect='default'";
- if ($icon===false) $icon=ICON_SUBMIT; break;
- case 'cancel':
- $aspect = " aspect='cancel'";
- if ($icon===false) $icon=ICON_ESCAPE; break;
- case null:
- $aspect = fallback_mode() ?
- " aspect='fallback'" : " style='display:none;'"; break;
- }
+ if ($atype === null) {
+ $aspect = fallback_mode() ? " aspect='fallback'" : " style='display:none;'";
+
+ } elseif (!is_bool($atype)) { // necessary: switch uses '=='
+
+ $aspect = "aspect='$atype' ";
+ $types = explode(' ', $atype);
+ foreach ($types as $type) {
+ switch($type) {
+ case 'selector':
+ $aspect = " aspect='selector' rel = '$value'";
+ $value = _("Select");
+ if ($icon===false) $icon=ICON_SUBMIT; break;
+
+ case 'default':
+ if ($icon===false) $icon=ICON_SUBMIT; break;
+
+ case 'cancel':
+ if ($icon===false) $icon=ICON_ESCAPE; break;
+ }
+ }
+ }
$submit_str = "<button class=\""
.($atype ? 'ajaxsubmit' : 'inputsubmit')
."\" type=\"submit\""
checkFunction = function(e) { return (e.getAttribute(attrName) == attrValue); };
break;
case '~': // Match one of space seperated words
- checkFunction = function(e) { return (e.getAttribute(attrName).match(new RegExp('\\b'+attrValue+'\\b'))); };
+ checkFunction = function(e) { var a=e.getAttribute(attrName); return (a && a.match(new RegExp('\\b'+attrValue+'\\b'))); };
break;
case '|': // Match start with value followed by optional hyphen
- checkFunction = function(e) { return (e.getAttribute(attrName).match(new RegExp('^'+attrValue+'-?'))); };
+ checkFunction = function(e) { var a=e.getAttribute(attrName); return (a && a.match(new RegExp('^'+attrValue+'-?'))); };
break;
case '^': // Match starts with value
- checkFunction = function(e) { return (e.getAttribute(attrName).indexOf(attrValue) == 0); };
+ checkFunction = function(e) { var a=e.getAttribute(attrName); return (a && a.indexOf(attrValue) == 0); };
break;
case '$': // Match ends with value - fails with "Warning" in Opera 7
- checkFunction = function(e) { return (e.getAttribute(attrName).lastIndexOf(attrValue) == e.getAttribute(attrName).length - attrValue.length); };
+ checkFunction = function(e) { var a=e.getAttribute(attrName); return (a && a.lastIndexOf(attrValue) == e.getAttribute(attrName).length - attrValue.length); };
break;
- case '*': // Match ends with value
- checkFunction = function(e) { return (e.getAttribute(attrName).indexOf(attrValue) > -1); };
+ case '*': // Match contains value
+ checkFunction = function(e) { var a=e.getAttribute(attrName); return (a && a.indexOf(attrValue) > -1); };
break;
default :
// Just test for existence of attribute
function(e) {
e.onclick = function() {
save_focus(e);
- if (e.getAttribute('aspect') == 'process')
- JsHttpRequest.request(this, null, 60000);
- else
- JsHttpRequest.request(this);
+ var asp = e.getAttribute('aspect')
+ if (asp && asp.indexOf('process') !== -1)
+ JsHttpRequest.request(this, null, 60000);
+ else
+ JsHttpRequest.request(this);
return false;
}
},
}
}
},
- 'button[aspect=selector], button[aspect=abort], input[aspect=selector]': function(e) {
+ 'button[aspect*selector], button[aspect*abort], input[aspect*selector]': function(e) {
e.onclick = function() {
passBack(this.getAttribute('rel'));
return false;
'a.printlink': function(l) {
l.onclick = function() {
save_focus(this);
- JsHttpRequest.request(this);
+ JsHttpRequest.request(this, null, 60000);
return false;
}
},
for (var i=0; i<form.elements.length; i++){
var el = form.elements[i];
var asp = el.getAttribute('aspect');
- if (el.className!='editbutton' && asp=='selector' && (key==13 || key==27)) {
+
+
+ if (el.className!='editbutton' && (asp && asp.indexOf('selector') !== -1) && (key==13 || key==27)) {
passBack(key==13 ? el.getAttribute('rel') : false);
ev.returnValue = false;
return false;
}
- if ((asp=='default' && key==13)||(asp=='cancel' && key==27)) {
- JsHttpRequest.request(el);
+ if (((asp && asp.indexOf('default') !== -1) && key==13)||((asp && asp.indexOf('cancel') !== -1) && key==27)) {
+
+ if (asp.indexOf('process') !== -1)
+ JsHttpRequest.request(el, null, 60000);
+ else
+ JsHttpRequest.request(el);
ev.returnValue = false;
return false;
}
function TextCol($c, $n, $txt, $corr=0, $r=0, $border=0, $fill=0, $link=NULL, $stretch=0)
{
+ $txt = html_entity_decode($txt);
if ($this->aligns[$c] == 'right')
$this->sheet->writeString($this->y, $c, $txt, $this->formatRight);
else
function TextCol2($c, $n, $txt, $corr=0, $r=0, $border=0, $fill=0, $link=NULL, $stretch=0)
{
+ $txt = html_entity_decode($txt);
$this->sheet->writeString($this->y, $c, $txt, $this->formatLeft);
if ($n - $c > 1)
$this->sheet->mergeCells($this->y, $c, $this->y, $n - 1);
. "<form method='POST' action='$action' target='_blank'>\n";
$st_params .= submit('Rep'.$report->id,
_("Display: ") . access_string($report->name, true),
- false, '', $pdf_debug ? false : 'default') . hidden('REP_ID', $report->id, false).'<br><br>';
+ false, '', $pdf_debug ? false : 'default process') . hidden('REP_ID', $report->id, false).'<br><br>';
$st_params .= $this->getOptions($report->get_controls());
$st_params .= "\n</form></td></tr></table>\n";
set_focus('Rep'.$report->id);
//
function get_ctrl($name, $type)
{
- global $path_to_root, $use_date_picker, $pdf_debug, $print_invoice_no;
+ global $path_to_root, $use_date_picker, $pdf_debug, $print_invoice_no, $def_print_destination;
$st = '';
switch ($type)
case 'DESTINATION':
$sel = array(_("PDF/Printer"), "Excel");
- return array_selector($name, null, $sel);
+ $def = 0;
+ if (isset($def_print_destination) && $def_print_destination == 1)
+ $def = 1;
+ return array_selector($name, $def, $sel);
case 'COMPARE':
$sel = array(_("Accumulated"), _("Period Y-1"), _("Budget"));
$rep->TextCol(4, 5, get_dimension_string($myrow['dimension_id']));
if ($dim > 1)
$rep->TextCol(5, 6, get_dimension_string($myrow['dimension2_id']));
- $rep->TextCol(6, 7, payment_person_name($myrow["person_type_id"],$myrow["person_id"], false));
+ $txt = payment_person_name($myrow["person_type_id"],$myrow["person_id"], false);
+ $memo = $myrow['memo_'];
+ if ($txt != "")
+ {
+ if ($memo != "")
+ $txt = $txt."/".$memo;
+ }
+ else
+ $txt = $memo;
+ $rep->TextCol(6, 7, $txt, -2);
if ($myrow['amount'] > 0.0)
$rep->AmountCol(7, 8, abs($myrow['amount']), $dec);
else
if (isset($_POST['ProcessCredit']) && can_process()) {
- $newcredit = ($_SESSION['Items']->trans_no == 0);
+ $new_credit = ($_SESSION['Items']->trans_no == 0);
if (!isset($_POST['WriteOffGLCode']))
$_POST['WriteOffGLCode'] = 0;
if ($new_credit) new_doc_date($_SESSION['Items']->document_date);
$credit_no = $_SESSION['Items']->write($_POST['WriteOffGLCode']);
- processing_end();
- if ($newcredit) {
+ processing_end();exit;
+ if ($new_credit) {
meta_forward($_SERVER['PHP_SELF'], "AddedID=$credit_no");
} else {
meta_forward($_SERVER['PHP_SELF'], "UpdatedID=$credit_no");
}
//----------------------------------------------------------------------------------------
+function get_related_credits($inv_numbers)
+{
+ // FIXME - credit notes retrieved here should be those linked to invoices containing
+ // at least one line from this order
+
+ $sql = "SELECT * FROM ".TB_PREF."debtor_trans WHERE type=".ST_CUSTCREDIT
+ ." AND trans_link IN(". implode(',', array_values($inv_numbers)).")";
+
+ $result = db_query($sql,"The related credit notes could not be retreived");
+
+}
+
+//----------------------------------------------------------------------------------------
+
function get_customer_details_from_trans($type, $type_no)
{
$sql = "SELECT ".TB_PREF."debtors_master.name, ".TB_PREF."debtors_master.curr_code, ".TB_PREF."cust_branch.br_name
$delivery_total = 0;
$k = 0;
-
+ $dn_numbers = array();
+
while ($del_row = db_fetch($result))
{
alt_table_row_color($k);
-
+ $dn_numbers[] = $del_row["trans_link"];
$this_total = $del_row["ov_freight"]+ $del_row["ov_amount"] + $del_row["ov_freight_tax"] + $del_row["ov_gst"] ;
$delivery_total += $this_total;
$th = array(_("#"), _("Ref"), _("Date"), _("Total"));
table_header($th);
+
+ $sql = "SELECT * FROM ".TB_PREF."debtor_trans WHERE type=".ST_SALESINVOICE
+ ." AND trans_no IN(". implode(',', array_values($dn_numbers)).")";
$result = get_related_documents(ST_SALESINVOICE, $_GET['trans_no']);
$invoices_total = 0;
$k = 0;
+ $inv_numbers = array();
while ($inv_row = db_fetch($result))
{
$this_total = $inv_row["ov_freight"] + $inv_row["ov_freight_tax"] + $inv_row["ov_gst"] + $inv_row["ov_amount"];
$invoices_total += $this_total;
+ $inv_numbers[] = $inv_row["trans_no"];
label_cell(get_customer_trans_view_str($inv_row["type"], $inv_row["trans_no"]));
label_cell($inv_row["reference"]);
label_cell(sql2date($inv_row["tran_date"]));
$th = array(_("#"), _("Ref"), _("Date"), _("Total"));
table_header($th);
- $result = get_related_documents(ST_CUSTCREDIT, $_GET['trans_no']);
+ $result = get_related_credits($inv_numbers);
$credits_total = 0;
$k = 0;
INSERT INTO `0_fiscal_year` VALUES(2, '2009-01-01', '2009-12-31', 0);
INSERT INTO `0_fiscal_year` VALUES(3, '2010-01-01', '2010-12-31', 0);
--- --------------------------------------------------------
-
--
-- Table structure for table `0_gl_trans`
--
-- Dumping data for table `0_crm_contacts`
--
-
-- --------------------------------------------------------
--
INSERT INTO `0_fiscal_year` VALUES(1, '2008-01-01', '2008-12-31', 0);
INSERT INTO `0_fiscal_year` VALUES(2, '2009-01-01', '2009-12-31', 0);
-
--- --------------------------------------------------------
+INSERT INTO `0_fiscal_year` VALUES(3, '2010-01-01', '2010-12-31', 0);
--
-- Table structure for table `0_gl_trans`
</ol>
</li><li>Upload all the new files.
- </li><li>Look into the file, <span style="font-weight: bold; font-style: italic;">config.default.php and compare with your own config.php</span> file. You should update the the following in your config.php:<br /><br /></li><ul><li><small>Change the $version in your <span style="font-weight: bold;">config.php</span> file, about line 59, from "2.X.X" to "2.2.9".<br /><br />if this is an update from 2.2.6, 2.2.7, 2.2.8 to 2.2.9 </small><small> </small><small>you are<span style="font-weight: bold;"> </span><span style="font-style: italic; font-weight: bold;">done and should ignore the the rest of the items in this note</span>.</small></li><li><small>Copy the 2 lines from config.default file, about line 122:<br /><br /><span style="font-family: monospace;">$table_style = "class='tablestyle'";</span><br style="font-family: monospace;" /><span style="font-family: monospace;">$table_style2 = "class='tablestyle2'";</span><br style="font-family: monospace;" /><br />into config.php about line 122 and replace these 4 lines:<br /><br /><span style="font-family: monospace;">if (!isset($_SESSION['bordercolor']))</span><br style="font-family: monospace;" /><span style="font-family: monospace;"> $_SESSION['bordercolor'] = "#8cacbb";</span><br style="font-family: monospace;" /><span style="font-family: monospace;">$table_style = "cellpadding=3 border=1 bordercolor='".$_SESSION['bordercolor']."' class='tablestyle'";</span><br style="font-family: monospace;" /><span style="font-family: monospace;">$table_style2 = "cellpadding=3 border=1 bordercolor='#cccccc' class='tablestyle2'";</span><br style="font-family: monospace;" /><br />If this is an update from 2.2.3, 2.2.4 , 2.2.5 to 2.2.9 </small><small>you are<span style="font-weight: bold;"> </span><span style="font-style: italic; font-weight: bold;">done and should ignore the the rest of the items in this note</span>.<br /></small></li><li><small>Copy these 2 lines from <span style="font-weight: bold;">config.default.php</span> about line 80-82 into <span style="font-weight: bold;">config.php</span> about line 80:<br /><br /><span style="font-family: monospace;">/* Show users online discretetely in the footer */</span><br style="font-family: monospace;" /><span style="font-family: monospace;">$show_users_online = 0;</span><br style="font-family: monospace;" /><span style="font-family: monospace;">Change this to 1 if you want to show users online.</span><br style="font-family: monospace;" /></small></li><li><small>Remove these 2 lines from <span style="font-weight: bold;">config.php</span> about line 176-177:<br /><br /><span style="font-family: monospace;">/* default start-up tab (orders/AP/stock/manuf/proj/GL/system) */</span><br style="font-family: monospace;" /><span style="font-family: monospace;">$def_app = "orders";</span><br style="font-family: monospace;" /></small></li><li><small>Copy these 3 lines from config.default.php about line 113-115<br /><br /><span style="font-family: monospace;">// defalt dateformats and dateseps indexes used before user login</span></small><br style="font-family: monospace;" /><small style="font-family: monospace;">$dflt_date_fmt = 0;</small><br style="font-family: monospace;" /><small><span style="font-family: monospace;">$dflt_date_sep = 0;</span><br style="font-family: monospace;" /></small></li><li><small>Copy these 2 lines from <span style="font-weight: bold;">config.default.php</span> about line 211-212:<br /><br /><span style="font-family: monospace;">define("ICON_SUBMIT", "ok.gif"); // new in 2.2</span><br style="font-family: monospace;" /><span style="font-family: monospace;">define("ICON_ESCAPE", "escape.png"); // new in 2.2</span><br style="font-family: monospace;" /></small></li><li><small>And paste them into <span style="font-weight: bold;">config.php</span> about line 209</small></li><li><small>If you use gregorian calendar and have non-workdays on Friday and first day of week = Saturday<br />then you should set this line in <span style="font-weight: bold;">config.php</span> about line 95.<br /></small><pre><small>$date_system = 3;</small></pre></li><li><small>If you want to use FrontAccounting help wiki then set this line in config.php about line 85<br /></small><pre><small>$help_base_url = "http://frontaccounting.net/fawiki?n=Help.";<br /></small></pre></li></ul><li>Rename or remove the /install folder (you have already performed the install
+ </li><li>Look into the file, <span style="font-weight: bold; font-style: italic;">config.default.php and compare with your own config.php</span> file. You should update the the following in your config.php:<br /><br /></li><ul><li><small>Change the $version in your <span style="font-weight: bold;">config.php</span> file, about line 59, from "2.X.X" to "2.2.10".</small></li><li><small>Change in line 67 to:<br />$power_url = "http://frontaccounting.com";<br /></small><small><br />Change in line 92 to:<br />// $help_base_url = 'http://frontaccounting.com/fawiki/index.php?n=Help.';<br /><br />Paste these 2 lines into line 83:<br /> /* default print destination. 0 = PDF/Printer, 1 = Excel */<br /> $def_print_destination = 0;<br /><br />if this is an update from 2.2.6, 2.2.7, 2.2.8 , 2.2.9 to 2.2.10 </small><small> </small><small>you are<span style="font-weight: bold;"> </span><span style="font-style: italic; font-weight: bold;">done and should ignore the the rest of the items in this note</span>.</small></li><li><small>Copy the 2 lines from config.default file, about line 122:<br /><br /><span style="font-family: monospace;">$table_style = "class='tablestyle'";</span><br style="font-family: monospace;" /><span style="font-family: monospace;">$table_style2 = "class='tablestyle2'";</span><br style="font-family: monospace;" /><br />into config.php about line 122 and replace these 4 lines:<br /><br /><span style="font-family: monospace;">if (!isset($_SESSION['bordercolor']))</span><br style="font-family: monospace;" /><span style="font-family: monospace;"> $_SESSION['bordercolor'] = "#8cacbb";</span><br style="font-family: monospace;" /><span style="font-family: monospace;">$table_style = "cellpadding=3 border=1 bordercolor='".$_SESSION['bordercolor']."' class='tablestyle'";</span><br style="font-family: monospace;" /><span style="font-family: monospace;">$table_style2 = "cellpadding=3 border=1 bordercolor='#cccccc' class='tablestyle2'";</span><br style="font-family: monospace;" /><br />If this is an update from 2.2.3, 2.2.4 , 2.2.5 to 2.2.10 </small><small>you are<span style="font-weight: bold;"> </span><span style="font-style: italic; font-weight: bold;">done and should ignore the the rest of the items in this note</span>.<br /></small></li><li><small>Copy these 2 lines from <span style="font-weight: bold;">config.default.php</span> about line 80-82 into <span style="font-weight: bold;">config.php</span> about line 80:<br /><br /><span style="font-family: monospace;">/* Show users online discretetely in the footer */</span><br style="font-family: monospace;" /><span style="font-family: monospace;">$show_users_online = 0;</span><br style="font-family: monospace;" /><span style="font-family: monospace;">Change this to 1 if you want to show users online.</span><br style="font-family: monospace;" /></small></li><li><small>Remove these 2 lines from <span style="font-weight: bold;">config.php</span> about line 176-177:<br /><br /><span style="font-family: monospace;">/* default start-up tab (orders/AP/stock/manuf/proj/GL/system) */</span><br style="font-family: monospace;" /><span style="font-family: monospace;">$def_app = "orders";</span><br style="font-family: monospace;" /></small></li><li><small>Copy these 3 lines from config.default.php about line 113-115<br /><br /><span style="font-family: monospace;">// defalt dateformats and dateseps indexes used before user login</span></small><br style="font-family: monospace;" /><small style="font-family: monospace;">$dflt_date_fmt = 0;</small><br style="font-family: monospace;" /><small><span style="font-family: monospace;">$dflt_date_sep = 0;</span><br style="font-family: monospace;" /></small></li><li><small>Copy these 2 lines from <span style="font-weight: bold;">config.default.php</span> about line 211-212:<br /><br /><span style="font-family: monospace;">define("ICON_SUBMIT", "ok.gif"); // new in 2.2</span><br style="font-family: monospace;" /><span style="font-family: monospace;">define("ICON_ESCAPE", "escape.png"); // new in 2.2</span><br style="font-family: monospace;" /></small></li><li><small>And paste them into <span style="font-weight: bold;">config.php</span> about line 209</small></li><li><small>If you use gregorian calendar and have non-workdays on Friday and first day of week = Saturday<br />then you should set this line in <span style="font-weight: bold;">config.php</span> about line 95.<br /></small><pre><small>$date_system = 3;</small></pre></li><li><small>If you want to use FrontAccounting help wiki then set this line in config.php about line 85<br /></small><pre><small>$help_base_url = "http://frontaccounting.net/fawiki?n=Help.";<br /></small></pre></li></ul><li>Rename or remove the /install folder (you have already performed the install
process earlier).<br /></li></ul><ol>