[Vtigercrm-commits] [vtiger development] #54: Translate of hard code by Summing columns in reports
vtiger development
vtiger-tickets at vtiger.fosslabs.com
Wed Mar 1 09:45:17 EST 2006
#54: Translate of hard code by Summing columns in reports
-------------------------+--------------------------------------------------
Reporter: Kleo | Owner: developer
Type: enhancement | Status: new
Priority: major | Milestone: 4.2.4
Component: vtigercrm | Version: 4.2.4rc2
Keywords: |
-------------------------+--------------------------------------------------
In modules/Reports/ReportRun.php replace the line:
{{{
$coltotalhtml .= "<table width='60%' cellpadding='0' cellspacing='0'
border='0' class='formOuterBorder'><tr><td class='rptHead'>Totals</td><td
class='rptHead'>SUM</td><td class='rptHead'>AVG</td><td
class='rptHead'>MIN</td><td class='rptHead'>MAX</td></tr>";
}}}
with this:
{{{
$coltotalhtml .= "<table width='60%' cellpadding='0' cellspacing='0'
border='0' class='formOuterBorder'><tr><td
class='rptHead'>{$mod_strings['LBL_COLUMNS']}</td><td
class='rptHead'>{$mod_strings['LBL_COLUMNS_SUM']}</td><td
class='rptHead'>{$mod_strings['LBL_COLUMNS_AVERAGE']}</td><td
class='rptHead'>{$mod_strings['LBL_COLUMNS_LOW_VALUE']}</td><td
class='rptHead'>{$mod_strings['LBL_COLUMNS_LARGE_VALUE']}</td></tr>";
}}}
--
Ticket URL: <http://vtiger.fosslabs.com/cgi-bin/trac.cgi/ticket/54>
vtiger development <http://vtiger.fosslabs.com/>
vtigerCRM
More information about the vtigercrm-commits
mailing list