Explorar el Código

[producer] Correctifs

refactoring
Guillaume hace 4 años
padre
commit
9bb7008f33
Se han modificado 2 ficheros con 4 adiciones y 10 borrados
  1. +4
    -6
      producer/views/order/order.php
  2. +0
    -4
      producer/views/site/index.php

+ 4
- 6
producer/views/order/order.php Ver fichero

@@ -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 Ver fichero

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

$cpt ++ ;

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

Cargando…
Cancelar
Guardar