diff --git a/src/Bundle/ChillThirdPartyBundle/Resources/views/ThirdParty/new.html.twig b/src/Bundle/ChillThirdPartyBundle/Resources/views/ThirdParty/new.html.twig index 8b7a38fea..002cc87e8 100644 --- a/src/Bundle/ChillThirdPartyBundle/Resources/views/ThirdParty/new.html.twig +++ b/src/Bundle/ChillThirdPartyBundle/Resources/views/ThirdParty/new.html.twig @@ -40,16 +40,17 @@ {# 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'), mode: 'edit', addressId: thirdParty.address.id, buttonSize: 'btn-sm', } %} + {# + backUrl: path('chill_3party_3party_new'), + #} {% else %} {# 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'), mode: 'new', buttonSize: 'btn-sm', buttonText: 'Create a new address', diff --git a/src/Bundle/ChillThirdPartyBundle/Resources/views/ThirdParty/update.html.twig b/src/Bundle/ChillThirdPartyBundle/Resources/views/ThirdParty/update.html.twig index e13fca14a..01837db05 100644 --- a/src/Bundle/ChillThirdPartyBundle/Resources/views/ThirdParty/update.html.twig +++ b/src/Bundle/ChillThirdPartyBundle/Resources/views/ThirdParty/update.html.twig @@ -57,16 +57,17 @@ {# include vue_address component #} {% include '@ChillMain/Address/_insert_vue_address.html.twig' with { targetEntity: { name: 'thirdparty', id: thirdParty.id }, - backUrl: path('chill_3party_3party_update', { thirdparty_id: thirdParty.id }), mode: 'edit', addressId: thirdParty.address.id, buttonSize: 'btn-sm', } %} + {# + backUrl: path('chill_3party_3party_update', { thirdparty_id: thirdParty.id }), + #} {% else %} {# include vue_address component #} {% include '@ChillMain/Address/_insert_vue_address.html.twig' with { targetEntity: { name: 'thirdparty', id: thirdParty.id }, - backUrl: path('chill_3party_3party_update', { thirdparty_id: thirdParty.id }), mode: 'new', buttonSize: 'btn-sm', buttonText: 'Create a new address',