Преглед на файлове

Merge branch 'dev'

prodstable
Guillaume преди 3 години
родител
ревизия
48e85fc396
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. +3
    -3
      backend/controllers/DistributionController.php

+ 3
- 3
backend/controllers/DistributionController.php Целия файл

@@ -591,10 +591,10 @@ class DistributionController extends BackendController
$optionCsvExportByPiece = Producer::getConfig('option_csv_export_by_piece') ;

// produits en colonne
$productsNameArray = [''];
$productsNameArray = ['', 'Commentaire'];
$productsIndexArray = [];
$productsHasQuantity = [];
$cpt = 1;
$cpt = 2;
foreach ($productsArray as $product) {
$productsHasQuantity[$product->id] = 0;
foreach (Product::$unitsArray as $unit => $dataUnit) {
@@ -627,7 +627,7 @@ class DistributionController extends BackendController
// listing commandes
$datas[] = ['> ' . $pointSale->name];
foreach ($pointSale->orders as $order) {
$orderLine = [$order->getStrUser()];
$orderLine = [$order->getStrUser(), $order->getCommentReport()];

if($optionCsvExportByPiece) {
foreach ($order->productOrder as $productOrder) {

Loading…
Отказ
Запис