@@ -151,14 +151,12 @@ $producer = GlobalParam::getCurrentProducer() ; | |||
<?php | |||
if($pointSaleDistributions && count($pointSaleDistributions) > 0) { | |||
echo '<div class="point-sales">' ; | |||
foreach($pointSaleDistributions as $pointSaleDistribution) { | |||
echo $pointSaleDistribution->pointSale->name.'<br />' ; | |||
} | |||
echo '</div>' ; | |||
} | |||
?> | |||
<?php foreach($pointSaleDistributions as $pointSaleDistribution) { | |||
echo $pointSaleDistribution->pointSale->name.'<br />' ; | |||
} | |||
echo '</div>' ; | |||
?> | |||
</div> | |||
</div> | |||
<?php endforeach; ?> |
@@ -99,10 +99,6 @@ $this->setPageTitle(Html::encode($producer->type.' à '.$producer->city)) ; | |||
} | |||
$cpt ++ ; | |||
if($cpt >= 5) { | |||
break ; | |||
} | |||
} | |||
return $html ; | |||
} |