From 2aa0bbf371895bb1785173a54e99f1b4399bb824 Mon Sep 17 00:00:00 2001 From: Mathieu Jaumotte Date: Thu, 16 Sep 2021 20:00:46 +0200 Subject: [PATCH] tp: fix bindModalStep variable rename with _insert_vue_address --- .../Resources/views/ThirdParty/new.html.twig | 8 ++++---- .../Resources/views/ThirdParty/update.html.twig | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Bundle/ChillThirdPartyBundle/Resources/views/ThirdParty/new.html.twig b/src/Bundle/ChillThirdPartyBundle/Resources/views/ThirdParty/new.html.twig index 682764f7c..cbccc8ad2 100644 --- a/src/Bundle/ChillThirdPartyBundle/Resources/views/ThirdParty/new.html.twig +++ b/src/Bundle/ChillThirdPartyBundle/Resources/views/ThirdParty/new.html.twig @@ -42,23 +42,23 @@ {# include vue_address component #} {% include '@ChillMain/Address/_insert_vue_address.html.twig' with { targetEntity: { name: 'thirdparty', id: thirdParty.id }, - backUrl: path('chill_3party_3party_new') + backUrl: path('chill_3party_3party_new'), mode: 'edit', addressId: thirdParty.address.id, buttonSize: 'btn-sm', - binModalStep1: false, + bindModalStep1: false, } %} {% else %} create address {# include vue_address component #} {% include '@ChillMain/Address/_insert_vue_address.html.twig' with { targetEntity: { name: 'thirdparty', id: thirdParty.id }, - backUrl: path('chill_3party_3party_new') + backUrl: path('chill_3party_3party_new'), mode: 'create', buttonSize: 'btn-sm', buttonText: 'Create a new address', modalTitle: 'Create a new address', - binModalStep1: false, + bindModalStep1: false, } %} {% endif %} diff --git a/src/Bundle/ChillThirdPartyBundle/Resources/views/ThirdParty/update.html.twig b/src/Bundle/ChillThirdPartyBundle/Resources/views/ThirdParty/update.html.twig index 820330f95..579c73d26 100644 --- a/src/Bundle/ChillThirdPartyBundle/Resources/views/ThirdParty/update.html.twig +++ b/src/Bundle/ChillThirdPartyBundle/Resources/views/ThirdParty/update.html.twig @@ -63,7 +63,7 @@ mode: 'edit', addressId: thirdParty.address.id, buttonSize: 'btn-sm', - binModalStep1: false + bindModalStep1: false } %} {% else %} create address @@ -73,7 +73,7 @@ backUrl: path('chill_3party_3party_update', { thirdparty_id: thirdParty.id }), mode: 'create', buttonSize: 'btn-sm', - binModalStep1: false + bindModalStep1: false } %} {% endif %}