Libellé
This commit is contained in:
parent
4656c46482
commit
52abcbbbbb
@ -681,14 +681,11 @@ foreach($tabIdentifiant as $item)
|
||||
{
|
||||
if ( in_array($cle.'Lib', $tabEntete) && isset(${'tab'.ucfirst($cle)}) )
|
||||
{
|
||||
echo $cle."\n";
|
||||
|
||||
$retour[$cle.'Lib'] = 'Non trouvé';
|
||||
$codeFromData = $tabData[$row][$cle];
|
||||
echo 'tab'.ucfirst($cle)."\n";
|
||||
foreach( ${'tab'.ucfirst($cle)} as $code => $label ) {
|
||||
if ( $codeFromData == $code ) {
|
||||
echo $retour[$cle.'Lib'] = $label;
|
||||
foreach( ${'tab'.ucfirst($cle)} as $item ) {
|
||||
if ( $codeFromData == $item['code'] ) {
|
||||
$retour[$cle.'Lib'] = $item['label'];
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user