|
|
|
|
|
|
|
|
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>' ; |
|
|
} |
|
|
} |