Libellé
This commit is contained in:
parent
83378249bd
commit
2e0d38bfb3
@ -439,6 +439,7 @@ foreach($tabExtract as $key)
|
||||
//Specify supplemental head
|
||||
$tabEntete[] = $key.'Lib';
|
||||
|
||||
echo ${'tab'.ucfirst($key)}."\n";
|
||||
//Load generic table - always return array('code', 'label')
|
||||
if ( is_array($elementsup['table']) ) {
|
||||
|
||||
@ -678,9 +679,10 @@ foreach($tabIdentifiant as $item)
|
||||
//Traitement des libellés génériques
|
||||
foreach($select['cle'] as $cle => $values)
|
||||
{
|
||||
echo $cle."\n";
|
||||
if ( in_array($cle.'Lib', $tabEntete) && isset(${'tab'.ucfirst($cle)}) )
|
||||
{
|
||||
echo $cle."\n";
|
||||
|
||||
$retour[$cle.'Lib'] = 'Non trouvé';
|
||||
$codeFromData = $tabData[$row][$cle];
|
||||
foreach( ${'tab'.ucfirst($cle)} as $code => $label ) {
|
||||
|
Loading…
Reference in New Issue
Block a user