Browse Source

Amélioration feuille prépa

feature/export_comptable
Fab 4 years ago
parent
commit
034fb60fd5
2 changed files with 3 additions and 1 deletions
  1. +2
    -1
      ShopBundle/Controller/Backend/AdminController.php
  2. +1
    -0
      ShopBundle/Resources/translations/lcshop.fr.yaml

+ 2
- 1
ShopBundle/Controller/Backend/AdminController.php View File

use Lc\ShopBundle\Context\TreeInterface; use Lc\ShopBundle\Context\TreeInterface;
use Lc\ShopBundle\Form\Backend\Common\AbstractEditPositionType; use Lc\ShopBundle\Form\Backend\Common\AbstractEditPositionType;
use Lc\ShopBundle\Form\Backend\Filters\ListFilterType; use Lc\ShopBundle\Form\Backend\Filters\ListFilterType;
use Lc\ShopBundle\Model\User;
use Lc\ShopBundle\Services\UtilsManager; use Lc\ShopBundle\Services\UtilsManager;
use Mailjet\MailjetSwiftMailer\SwiftMailer\MailjetTransport; use Mailjet\MailjetSwiftMailer\SwiftMailer\MailjetTransport;
use Symfony\Bridge\Doctrine\Form\Type\EntityType; use Symfony\Bridge\Doctrine\Form\Type\EntityType;


$id = $this->request->query->get('id'); $id = $this->request->query->get('id');
$easyadmin = $this->request->attributes->get('easyadmin'); $easyadmin = $this->request->attributes->get('easyadmin');
$entity = $easyadmin['item'];
$entity = $easyadmin['item'];


if ($this->request->isXmlHttpRequest() && $property = $this->request->query->get('property')) { if ($this->request->isXmlHttpRequest() && $property = $this->request->query->get('property')) {
$newValue = 'true' === mb_strtolower($this->request->query->get('newValue')); $newValue = 'true' === mb_strtolower($this->request->query->get('newValue'));

+ 1
- 0
ShopBundle/Resources/translations/lcshop.fr.yaml View File

unit: Unité unit: Unité
OrderShop: OrderShop:
createdAt: Date de création createdAt: Date de création
updatedAt: Date de modification
save: Sauvegarder save: Sauvegarder
reference: Référence reference: Référence
mainInfo: Information principal mainInfo: Information principal

Loading…
Cancel
Save