[Vtigercrm-commits] [vtiger development] #5562: Report column title prefixed
vtiger development
vtiger-tickets at trac.vtiger.com
Fri Jul 10 05:32:35 EDT 2009
#5562: Report column title prefixed
------------------------+---------------------------------------------------
Reporter: prasad | Owner: sandeep
Type: patch | Status: closed
Priority: minor | Milestone: 5.1.0
Component: vtigercrm | Version: 5.1.0-val1
Resolution: fixed | Keywords:
------------------------+---------------------------------------------------
Comment (by Pierluigi.Bucolo):
}elseif($outputformat == "PRINT")
{
$sSQL =
$this->sGetSQLforReport($this->reportid,$filterlist);
$result = $adb->query($sSQL);
if($is_admin==false && $profileGlobalPermission[1]
== 1 && $profileGlobalPermission[2] == 1)
$picklistarray = $this->getAccessPickListValues();
if($result)
{
$y=$adb->num_fields($result);
$arrayHeaders = Array();
for ($x=0; $x<$y; $x++)
{
$fld = $adb->field_name($result,
$x);
$headerLabel = str_replace("_","
",$fld->name);
/* DELETE THE ROWS INSIDE REMARK
*
if(in_array($this->getLstringforReportHeaders($fld->name), $arrayHeaders))
{
$headerLabel =
str_replace("_"," ",$fld->name);
$arrayHeaders[] =
$headerLabel;
}
else
{
$headerLabel =
str_replace($modules," ",$this->getLstringforReportHeaders($fld->name));
$arrayHeaders[] =
$headerLabel;
}
*/
// END - DELETE
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/5562#comment:10>
vtiger development <http://trac.vtiger.com/>
vtigerCRM
More information about the vtigercrm-commits
mailing list