Browse Source

[backend] Terre de pains : adaptation export pour Google Drive

refactoring
Guillaume 4 years ago
parent
commit
cea96b39f3
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      backend/controllers/DistributionController.php

+ 1
- 2
backend/controllers/DistributionController.php View File

foreach ($pointsSaleArray as $pointSale) { foreach ($pointsSaleArray as $pointSale) {
if (count($pointSale->orders)) { if (count($pointSale->orders)) {
// listing commandes // listing commandes
$datas[] = ['> ' . $pointSale->name];


/*foreach ($pointSale->orders as $order) { /*foreach ($pointSale->orders as $order) {
$orderLine = [$order->getStrUser()]; $orderLine = [$order->getStrUser()];


// total point de vente // total point de vente
$totalsPointSaleArray = $this->_totalReportCSV( $totalsPointSaleArray = $this->_totalReportCSV(
'Total point de vente',
'> ' . $pointSale->name,
$pointSale->orders, $pointSale->orders,
$productsArray, $productsArray,
$productsIndexArray $productsIndexArray

Loading…
Cancel
Save