Selaa lähdekoodia

Amélioration feuille prépa

feature/export_comptable
Fab 4 vuotta sitten
vanhempi
commit
034fb60fd5
2 muutettua tiedostoa jossa 3 lisäystä ja 1 poistoa
  1. +2
    -1
      ShopBundle/Controller/Backend/AdminController.php
  2. +1
    -0
      ShopBundle/Resources/translations/lcshop.fr.yaml

+ 2
- 1
ShopBundle/Controller/Backend/AdminController.php Näytä tiedosto

@@ -15,6 +15,7 @@ use Lc\ShopBundle\Context\StatusInterface;
use Lc\ShopBundle\Context\TreeInterface;
use Lc\ShopBundle\Form\Backend\Common\AbstractEditPositionType;
use Lc\ShopBundle\Form\Backend\Filters\ListFilterType;
use Lc\ShopBundle\Model\User;
use Lc\ShopBundle\Services\UtilsManager;
use Mailjet\MailjetSwiftMailer\SwiftMailer\MailjetTransport;
use Symfony\Bridge\Doctrine\Form\Type\EntityType;
@@ -517,7 +518,7 @@ class AdminController extends EasyAdminController

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

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

+ 1
- 0
ShopBundle/Resources/translations/lcshop.fr.yaml Näytä tiedosto

@@ -382,6 +382,7 @@ field:
unit: Unité
OrderShop:
createdAt: Date de création
updatedAt: Date de modification
save: Sauvegarder
reference: Référence
mainInfo: Information principal

Loading…
Peruuta
Tallenna