|
|
@@ -46,7 +46,7 @@ $html = '' ; |
|
|
|
|
|
|
|
// par point de vente |
|
|
|
foreach ($pointsSaleArray as $pointSale) { |
|
|
|
if (count($pointSale->orders) && strlen($pointSale->$fieldInfosPointSale)) { |
|
|
|
if (count($pointSale->orders)) { |
|
|
|
|
|
|
|
$html .= '<h3>'.$pointSale->name.'</h3>' ; |
|
|
|
$colCredit = ($pointSale->credit) ? '<th>Rappel crédit</th>' : '' ; |
|
|
@@ -167,7 +167,7 @@ $html .= '<table class="table table-bordered">' |
|
|
|
$revenues = 0 ; |
|
|
|
foreach ($pointsSaleArray as $pointSale) |
|
|
|
{ |
|
|
|
if (count($pointSale->orders) && strlen($pointSale->$fieldInfosPointSale)) |
|
|
|
if (count($pointSale->orders)) |
|
|
|
{ |
|
|
|
$html .= '<tr><td>'.$pointSale->name.'</td><td>' ; |
|
|
|
foreach ($productsArray as $product) { |