Преглед на файлове

Merge branch 'develop'

master
Fab преди 4 години
родител
ревизия
df88dbe7cb
променени са 3 файла, в които са добавени 1 реда и са изтрити 4 реда
  1. +1
    -1
      ShopBundle/Controller/Backend/ProductFamilyController.php
  2. +0
    -2
      ShopBundle/Repository/ProductCategoryRepository.php
  3. +0
    -1
      ShopBundle/Resources/public/js/backend/script/default/init-common.js

+ 1
- 1
ShopBundle/Controller/Backend/ProductFamilyController.php Целия файл

@@ -414,7 +414,7 @@ class ProductFamilyController extends AdminController
{
$orderShopRepo = $this->em->getRepository(OrderShopInterface::class);
$totalProductOrdered = array();
$currentWeekNumber = $this->orderUtils->getWeekNumberCurrent();
$currentWeekNumber = $this->orderUtils->getWeekNumberCurrentOrder();
$totalProductOrdered['total'][$currentWeekNumber +1] = 0;
$totalProductOrdered['total'][$currentWeekNumber ] = 0;


+ 0
- 2
ShopBundle/Repository/ProductCategoryRepository.php Целия файл

@@ -42,8 +42,6 @@ class ProductCategoryRepository extends BaseRepository implements DefaultReposit

if ($withOffline) $query->andWhere('e.status >= 0');
else $query->andWhere('e.status = 1');
$query->leftJoin('e.productFamilies','productFamilies') ;

$query->orderBy('e.position', 'ASC');


+ 0
- 1
ShopBundle/Resources/public/js/backend/script/default/init-common.js Целия файл

@@ -66,7 +66,6 @@ function initAdminLtePlugin() {
$('form button[type="submit"]').on('click', function (e) {

checkForm();
log('ncihe')
})

if ($('.select2, select.form-control').length) {

Loading…
Отказ
Запис