From 3b37f839e29bf81739cb24777442ca9e6d74ccf3 Mon Sep 17 00:00:00 2001 From: TheCoreDev Date: Fri, 20 Nov 2020 10:35:20 +0100 Subject: [PATCH] =?UTF-8?q?Inversion=20des=20valeurs=20dans=20la=20liste?= =?UTF-8?q?=20d=C3=A9roulante=20"Type=20de=20promotion"=20sur=20la=20cr?= =?UTF-8?q?=C3=A9ation=20de=20nouvelle=20commande=20depuis=20le=20BO,=20af?= =?UTF-8?q?in=20que=20le=20pourcentage=20soit=20le=20choix=20par=20d=C3=A9?= =?UTF-8?q?faut.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + local/modules/OrderCreation/Form/OrderCreationCreateForm.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 90b5fb801..0beb35012 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /cache/ /log/ /web/cache/ +/local/session/ diff --git a/local/modules/OrderCreation/Form/OrderCreationCreateForm.php b/local/modules/OrderCreation/Form/OrderCreationCreateForm.php index 84fcc7590..5e093f9dd 100644 --- a/local/modules/OrderCreation/Form/OrderCreationCreateForm.php +++ b/local/modules/OrderCreation/Form/OrderCreationCreateForm.php @@ -140,8 +140,8 @@ class OrderCreationCreateForm extends BaseForm [ 'constraints' => [ new NotBlank() ], 'choices' => [ - Sale::OFFSET_TYPE_AMOUNT => $this->translator->trans('Constant amount', [], 'core'), Sale::OFFSET_TYPE_PERCENTAGE => $this->translator->trans('Percentage', [], 'core'), + Sale::OFFSET_TYPE_AMOUNT => $this->translator->trans('Constant amount', [], 'core'), ], 'required' => true, 'label' => $this->translator->trans('Discount type', [], OrderCreation::MESSAGE_DOMAIN),