Browse Source

[Boutique] Commander : correctif OrderController

feature/rotating_product
Guillaume Bourgeois 4 months ago
parent
commit
fa20533aa2
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      producer/controllers/OrderController.php

+ 1
- 2
producer/controllers/OrderController.php View File

->all(); ->all();


$productsArrayFilter = $productModule->filterProductsByPointSale($productsArray, $pointSale); $productsArrayFilter = $productModule->filterProductsByPointSale($productsArray, $pointSale);

$orderCurrent = $order; $orderCurrent = $order;
if(count($productsFormArray)) {
if($productsFormArray && count($productsFormArray)) {
$productOrdersArray = []; $productOrdersArray = [];
foreach($productsFormArray as $idProduct => $quantityProduct) { foreach($productsFormArray as $idProduct => $quantityProduct) {
if($idProduct) { if($idProduct) {

Loading…
Cancel
Save