Saisie : saisir une dizaine d'établisssements concernées et plusieurs événements de vente
This commit is contained in:
parent
d310985a0d
commit
f32f7a19f4
@ -105,12 +105,14 @@ else {
|
||||
foreach($etablissement5500 as $etab){
|
||||
$txtEtab.= $etab;
|
||||
$countEtab++;
|
||||
if($countEtab>10) break;
|
||||
if(count($etablissement5500)>$countEtab){ $txtEtab.=', '; }
|
||||
}
|
||||
if (count($etablissement5500)>1) { $txt = 'Etablissment(s) concerné(s) : '; }else{ $txt = 'Etablissment concerné : '; }
|
||||
if ($tabJugement['comp']!='')
|
||||
$tabJugement['comp'] = $tabJugement['comp'].' Etablissment(s) concerné(s) : '.$txtEtab;
|
||||
$tabJugement['comp'] = $tabJugement['comp'].' '.$txt.$txtEtab;
|
||||
else
|
||||
$tabJugement['comp'] = 'Etablissment(s) concerné(s) : '.$txtEtab;
|
||||
$tabJugement['comp'] = ' '.$txt.$txtEtab;
|
||||
}
|
||||
|
||||
if( $tabJugement['oppo'] == 'adresse'){
|
||||
|
Loading…
Reference in New Issue
Block a user