Browse Source

Merge branch 'develop'

master
Guillaume Bourgeois 1 week ago
parent
commit
0728f4d11e
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      producer/controllers/OrderController.php

+ 7
- 0
producer/controllers/OrderController.php View File

@@ -722,6 +722,13 @@ class OrderController extends ProducerBaseController
}
}

// Reconstitution de l'array sinon cela crée un bug : les distributions ne sont plus affichées sur le front
$newDistributionsArray = [];
foreach($distributionsArray as $distribution) {
$newDistributionsArray[] = $distribution;
}
$distributionsArray = $newDistributionsArray;

// Filtre par point de vente
if ($pointSaleCurrent && $producer->option_order_entry_point == Producer::ORDER_ENTRY_POINT_POINT_SALE) {
$distributionsArrayFilterPointSale = [];

Loading…
Cancel
Save