Browse Source

Produit stock negatif

feature/export_comptable
Fab 4 years ago
parent
commit
341b322d6b
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      ShopBundle/Repository/ProductRepository.php

+ 1
- 0
ShopBundle/Repository/ProductRepository.php View File

$qb->innerJoin('e.productFamily', 'productFamily'); $qb->innerJoin('e.productFamily', 'productFamily');
$qb->addSelect('productFamily'); $qb->addSelect('productFamily');
$qb->where('productFamily.merchant = :currentMerchant'); $qb->where('productFamily.merchant = :currentMerchant');
$qb->andWhere('productFamily.status = 1');
$qb->setParameter('currentMerchant', $this->merchantUtils->getMerchantCurrent()->getId()); $qb->setParameter('currentMerchant', $this->merchantUtils->getMerchantCurrent()->getId());


$qb->andWhere( $qb->andWhere(

Loading…
Cancel
Save