Affichage de la prévisualisation
This commit is contained in:
parent
99f808fa12
commit
e4c1351290
@ -335,16 +335,20 @@ class ComptageController extends Zend_Controller_Action
|
||||
|
||||
$liste = array();
|
||||
if ( count($result)>0 ) {
|
||||
foreach ($result as $l => $line) {
|
||||
foreach ( $result as $l => $line ) {
|
||||
$tmp = array();
|
||||
foreach($line as $column => $data) {
|
||||
$valuesPredefine = $enrichissement->getColumnValue($column);
|
||||
if ($valuesPredefine!==false) {
|
||||
$tmp[] = $valuesPredefine[$data];
|
||||
} else {
|
||||
$tmp[] = $data;
|
||||
}
|
||||
}
|
||||
foreach ( $tabEntete as $item ) {
|
||||
$data = '';
|
||||
if ( array_key_exists($item, $line) ) {
|
||||
$data = $line[$item];
|
||||
}
|
||||
$valuesPredefine = $enrichissement->getColumnValue($item);
|
||||
if ($valuesPredefine!==false) {
|
||||
$tmp[] = $valuesPredefine[$data];
|
||||
} else {
|
||||
$tmp[] = $data;
|
||||
}
|
||||
}
|
||||
$liste[] = $tmp;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user