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 %}