* @package report * @version $Id$ * @link http://www.zentao.net */ ?> $value):?>
>
session->sqlLangs, true); $clientLang = $this->app->getClientLang(); $width = common::checkNotCN() ? 140 : 80; ?> module) and strpos($report->module, 'product') !== false) ? 'text-left' : 'text-center';?> params) ? json_decode($report->params) : array();?> $reportFields) { $showed[$i] = false; foreach($reportFields as $reportField) { if(isset($headerNames[$i])) { foreach ($headerNames[$i] as $key => $headerName) { if(!in_array($key, $reportFields)) unset($headerNames[$i][$key]); // If the header name does not have a header, remove. } foreach ($reportFields as $key => $reportFid) { if(!isset($headerNames[$i][$reportFid])) $headerNames[$i][$key]=$reportFid; // If the header cannot find header name,add head. } foreach($headerNames[$i] as $key => $headerName) { echo "'; $percentKey = (empty($key) ? 'null' : $key) . 'Percent'; if(isset($condition['percent'][$i]) and isset($condition['showAlone'][$i]) and $condition['contrast'][$i] != 'crystalTotal') echo ""; $dataCols[$i][] = $key; } $showed[$i] = true; } elseif(isset($condition['isUser']['reportField'][$i])) { $user = zget($users, $reportField, $reportField); echo "'; $dataCols[$i][] = $reportField; } else { echo "'; $dataCols[$i][] = $reportField; } if($showed[$i]) break; $percentKey = $reportField . 'Percent'; if(isset($condition['percent'][$i]) and isset($condition['showAlone'][$i]) and $condition['contrast'][$i] != 'crystalTotal') echo ""; } if(isset($condition['reportTotal'][$i])) echo ""; $percentKey = $reportField . 'Percent'; if(isset($condition['percent'][$i]) and isset($condition['showAlone'][$i]) and $condition['contrast'][$i] == 'crystalTotal') echo ""; } ?> app->getMethodName();?> $group1Data):?> $data):?> report->getCellData($data, $dataCols, $condition, $initStaticData); $allTotal = $data['allTotal']; $cellDataList = $data['cellData']; foreach($cellDataList as $i => $cellData) echo ''; ?> $data):?> report->getCellData($data, $dataCols, $condition, $initStaticData); $allTotal = $data['allTotal']; $cellDataList = $data['cellData']; foreach($cellDataList as $i => $cellData) echo ''; ?>
" . (empty($headerName) ? $lang->report->null : $headerName) . '" . (isset($sqlLangs[$percentKey][$clientLang]) ? $sqlLangs[$percentKey][$clientLang] : $lang->crystal->percentAB) . "" . (empty($user) ? $lang->report->null : $user) . '" . zget($fields, $reportField, $reportField) . '" . (isset($sqlLangs[$percentKey][$clientLang]) ? $sqlLangs[$percentKey][$clientLang] : $lang->crystal->percentAB) . "{$lang->crystal->total}" . (isset($sqlLangs[$percentKey][$clientLang]) ? $sqlLangs[$percentKey][$clientLang] : $lang->crystal->percentAB) . "
1 and $methodName != 'show') echo 'rowspan=' . count($group1Data)?> title=''> report->null : $group1Name;?> report->null : $group2Name;?> ' . (empty($cellData) ? 0 : $cellData) . '
report->null : $group1Name;?> ' . (empty($cellData) ? 0 : $cellData) . '
>crystal->total?>