Explorar el Código

Correctif

packProduct
Fabien Normand hace 3 años
padre
commit
6bac3f6af8
Se han modificado 2 ficheros con 8 adiciones y 0 borrados
  1. +7
    -0
      Repository/Product/ProductRepositoryQuery.php
  2. +1
    -0
      Repository/Product/ProductStore.php

+ 7
- 0
Repository/Product/ProductRepositoryQuery.php Ver fichero

} }




public function filterIsNotAvailableQuantitySupplierUnlimited():self
{
$this->andWhere('productFamily.availableQuantitySupplierUnlimited != 1');
return $this;
}


public function filterAvailableQuantityNegative() :self public function filterAvailableQuantityNegative() :self
{ {



+ 1
- 0
Repository/Product/ProductStore.php Ver fichero

$query->joinProductFamily(); $query->joinProductFamily();
$query->filterIsOnline(); $query->filterIsOnline();
$query->filterAvailableQuantitySupplierNegative(); $query->filterAvailableQuantitySupplierNegative();
$query->filterIsNotAvailableQuantitySupplierUnlimited();
$query->groupBy('productFamily.id'); $query->groupBy('productFamily.id');
$productListAvailableQuantityNegative = $query->find(); $productListAvailableQuantityNegative = $query->find();



Cargando…
Cancelar
Guardar