Browse Source

[producer] Correctifs

refactoring
Guillaume 4 years ago
parent
commit
9bb7008f33
2 changed files with 4 additions and 10 deletions
  1. +4
    -6
      producer/views/order/order.php
  2. +0
    -4
      producer/views/site/index.php

+ 4
- 6
producer/views/order/order.php View File

<?php <?php
if($pointSaleDistributions && count($pointSaleDistributions) > 0) { if($pointSaleDistributions && count($pointSaleDistributions) > 0) {
echo '<div class="point-sales">' ; 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>
</div> </div>
<?php endforeach; ?> <?php endforeach; ?>

+ 0
- 4
producer/views/site/index.php View File

} }


$cpt ++ ; $cpt ++ ;

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

Loading…
Cancel
Save