Browse Source

Merge branch 'develop'

master
Guillaume 4 years ago
parent
commit
acc794d653
2 changed files with 0 additions and 2 deletions
  1. +0
    -1
      ShopBundle/Repository/ReductionCatalogRepository.php
  2. +0
    -1
      ShopBundle/Twig/BridgeTwigExtension.php

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

@@ -45,7 +45,6 @@ class ReductionCatalogRepository extends BaseRepository implements DefaultReposi

public function getReductionCatalogByProductFamilyConditions($productFamilyIds, $user)
{
dump($user);

$query = $this->findByMerchantQuery();
$query->andWhere('e.status = 1');

+ 0
- 1
ShopBundle/Twig/BridgeTwigExtension.php View File

@@ -31,7 +31,6 @@ class BridgeTwigExtension extends AbstractExtension
new TwigFunction('getUnitsList', [$this, 'getUnitsList']),
new TwigFunction('getTaxRatesList', [$this, 'getTaxRatesList']),
new TwigFunction('getElementByDevAlias', [$this, 'getElementByDevAlias']),
new TwigFunction('get_form_newsletter', [$this, 'getFormNewsletter']),
);
}


Loading…
Cancel
Save