|
|
@@ -80,7 +80,7 @@ class DistributionReportCsvGenerator extends AbstractGenerator implements Distri |
|
|
|
{ |
|
|
|
$datas = []; |
|
|
|
$ordersArray = $this->orderRepository->findOrdersByDistribution($distribution); |
|
|
|
$productsArray = $this->productRepository->findProductsByDistribution($distribution); |
|
|
|
$productsArray = $this->productRepository->findProductsByDistribution($distribution, true, 'product.order ASC'); |
|
|
|
$optionCsvExportAllProducts = $this->producerSolver->getConfig('option_csv_export_all_products'); |
|
|
|
$optionCsvExportByPiece = $this->producerSolver->getConfig('option_csv_export_by_piece'); |
|
|
|
$pointsSaleArray = $this->pointSaleRepository->findPointSales(); |