|
|
@@ -687,7 +687,8 @@ class DistributionController extends BackendController |
|
|
|
if (count($pointSale->orders)) { |
|
|
|
// listing commandes |
|
|
|
$datas[] = ['> ' . $pointSale->name]; |
|
|
|
foreach ($pointSale->orders as $order) { |
|
|
|
|
|
|
|
/*foreach ($pointSale->orders as $order) { |
|
|
|
$orderLine = [$order->getStrUser()]; |
|
|
|
|
|
|
|
foreach ($productsIndexArray as $idProduct => $indexProduct) { |
|
|
@@ -704,7 +705,7 @@ class DistributionController extends BackendController |
|
|
|
} |
|
|
|
} |
|
|
|
$datas[] = $this->_lineOrderReportCSV($orderLine, $cpt - 1, true); |
|
|
|
} |
|
|
|
}*/ |
|
|
|
|
|
|
|
// total point de vente |
|
|
|
$totalsPointSaleArray = $this->_totalReportCSV( |
|
|
@@ -714,7 +715,6 @@ class DistributionController extends BackendController |
|
|
|
$productsIndexArray |
|
|
|
); |
|
|
|
$datas[] = $this->_lineOrderReportCSV($totalsPointSaleArray, $cpt - 1, true); |
|
|
|
$datas[] = []; |
|
|
|
} |
|
|
|
} |
|
|
|
|