Libellé
This commit is contained in:
parent
6f18be3aa4
commit
83378249bd
@ -676,16 +676,16 @@ foreach($tabIdentifiant as $item)
|
||||
}
|
||||
} else {
|
||||
//Traitement des libellés génériques
|
||||
foreach($select['cle'] as $item)
|
||||
foreach($select['cle'] as $cle => $values)
|
||||
{
|
||||
echo $item."\n";
|
||||
if ( in_array($item.'Lib', $tabEntete) && isset(${'tab'.ucfirst($item)}) )
|
||||
echo $cle."\n";
|
||||
if ( in_array($cle.'Lib', $tabEntete) && isset(${'tab'.ucfirst($cle)}) )
|
||||
{
|
||||
$retour = 'Non trouvé';
|
||||
$codeFromData = $tabData[$row][$item];
|
||||
foreach( ${'tab'.ucfirst($item)} as $code => $label ) {
|
||||
$retour[$cle.'Lib'] = 'Non trouvé';
|
||||
$codeFromData = $tabData[$row][$cle];
|
||||
foreach( ${'tab'.ucfirst($cle)} as $code => $label ) {
|
||||
if ( $codeFromData == $code ) {
|
||||
$retour = $label;
|
||||
$retour[$cle.'Lib'] = $label;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user