瀏覽代碼

Produit stock negatif

feature/export_comptable
Fab 4 年之前
父節點
當前提交
341b322d6b
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. +1
    -0
      ShopBundle/Repository/ProductRepository.php

+ 1
- 0
ShopBundle/Repository/ProductRepository.php 查看文件

@@ -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(

Loading…
取消
儲存