Browse Source

[Espace producteur] Points de vente fantômes #924

prodstable
Guillaume Bourgeois 1 year ago
parent
commit
d5a7faf39b
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      producer/views/order/order.php

+ 2
- 2
producer/views/order/order.php View File

if($pointSaleDistributions && count($pointSaleDistributions) > 0) { if($pointSaleDistributions && count($pointSaleDistributions) > 0) {
echo '<div class="point-sales">' ; echo '<div class="point-sales">' ;
foreach($pointSaleDistributions as $pointSaleDistribution) { foreach($pointSaleDistributions as $pointSaleDistribution) {
//if($pointSaleDistribution->pointSale->status == 1) {
if($pointSaleDistribution->pointSale->status == 1) {
echo $pointSaleDistribution->pointSale->name.'' ; echo $pointSaleDistribution->pointSale->name.'' ;
if(strlen($pointSaleDistribution->pointSale->locality)) { if(strlen($pointSaleDistribution->pointSale->locality)) {
echo ' ('.$pointSaleDistribution->pointSale->locality.')' ; echo ' ('.$pointSaleDistribution->pointSale->locality.')' ;
} }
echo '<br />' ; echo '<br />' ;
//}
}
} }
echo '</div>' ; echo '</div>' ;
} }

Loading…
Cancel
Save