Przeglądaj źródła

[producer] Correctifs

refactoring
Guillaume 4 lat temu
rodzic
commit
9bb7008f33
2 zmienionych plików z 4 dodań i 10 usunięć
  1. +4
    -6
      producer/views/order/order.php
  2. +0
    -4
      producer/views/site/index.php

+ 4
- 6
producer/views/order/order.php Wyświetl plik

@@ -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; ?>

+ 0
- 4
producer/views/site/index.php Wyświetl plik

@@ -99,10 +99,6 @@ $this->setPageTitle(Html::encode($producer->type.' à '.$producer->city)) ;
}

$cpt ++ ;

if($cpt >= 5) {
break ;
}
}
return $html ;
}

Ładowanie…
Anuluj
Zapisz