Ver código fonte

Produit stock negatif

feature/export_comptable
Fab 4 anos atrás
pai
commit
341b322d6b
1 arquivos alterados com 1 adições e 0 exclusões
  1. +1
    -0
      ShopBundle/Repository/ProductRepository.php

+ 1
- 0
ShopBundle/Repository/ProductRepository.php Ver arquivo

@@ -26,6 +26,7 @@ class ProductRepository extends BaseRepository implements DefaultRepositoryInter
$qb->innerJoin('e.productFamily', 'productFamily');
$qb->addSelect('productFamily');
$qb->where('productFamily.merchant = :currentMerchant');
$qb->andWhere('productFamily.status = 1');
$qb->setParameter('currentMerchant', $this->merchantUtils->getMerchantCurrent()->getId());

$qb->andWhere(

Carregando…
Cancelar
Salvar