Browse Source

youyou

develop
Fab 2 years ago
parent
commit
7aa83f8218
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      Repository/Order/OrderShopStore.php

+ 2
- 2
Repository/Order/OrderShopStore.php View File

DistributionInterface $distribution, DistributionInterface $distribution,
ProductInterface $product, ProductInterface $product,
$query = null $query = null
): ?string {
): float {
//TODO attention à vérifier //TODO attention à vérifier
$query = $this->createQuery($query); $query = $this->createQuery($query);


if ($result) { if ($result) {
return $result['quantity']; return $result['quantity'];
} }
return null;
return 0;
} }


public function isReductionCreditAllowAddToOrder( public function isReductionCreditAllowAddToOrder(

Loading…
Cancel
Save