Browse Source

Définition numero semaine

feature/export_comptable
Fab 4 years ago
parent
commit
5db52ccc09
2 changed files with 1 additions and 2 deletions
  1. +1
    -1
      ShopBundle/Controller/Backend/ProductFamilyController.php
  2. +0
    -1
      ShopBundle/Resources/public/js/backend/script/default/init-common.js

+ 1
- 1
ShopBundle/Controller/Backend/ProductFamilyController.php View File

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



+ 0
- 1
ShopBundle/Resources/public/js/backend/script/default/init-common.js View File

$('form button[type="submit"]').on('click', function (e) { $('form button[type="submit"]').on('click', function (e) {


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


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

Loading…
Cancel
Save