diff --git a/src/Bundle/ChillThirdPartyBundle/Resources/views/ThirdParty/new.html.twig b/src/Bundle/ChillThirdPartyBundle/Resources/views/ThirdParty/new.html.twig index e6ab52be5..8b7a38fea 100644 --- a/src/Bundle/ChillThirdPartyBundle/Resources/views/ThirdParty/new.html.twig +++ b/src/Bundle/ChillThirdPartyBundle/Resources/views/ThirdParty/new.html.twig @@ -36,9 +36,7 @@ {{ form_label(form.address) }} {{ form_widget(form.address) }}
- new tp => {% if thirdParty.address %} - edit address {# include vue_address component #} {% include '@ChillMain/Address/_insert_vue_address.html.twig' with { targetEntity: { name: 'thirdparty', id: thirdParty.id }, @@ -46,10 +44,8 @@ mode: 'edit', addressId: thirdParty.address.id, buttonSize: 'btn-sm', - openPanesInModal: false, } %} {% else %} - create address {# include vue_address component #} {% include '@ChillMain/Address/_insert_vue_address.html.twig' with { targetEntity: { name: 'thirdparty', id: thirdParty.id }, @@ -58,7 +54,6 @@ buttonSize: 'btn-sm', buttonText: 'Create a new address', modalTitle: 'Create a new address', - openPanesInModal: 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 f59f5d0cc..862eea893 100644 --- a/src/Bundle/ChillThirdPartyBundle/Resources/views/ThirdParty/update.html.twig +++ b/src/Bundle/ChillThirdPartyBundle/Resources/views/ThirdParty/update.html.twig @@ -53,9 +53,7 @@ {{ form_label(form.address) }} {{ form_widget(form.address) }}
- update tp => {% if thirdParty.address %} - edit address {# include vue_address component #} {% include '@ChillMain/Address/_insert_vue_address.html.twig' with { targetEntity: { name: 'thirdparty', id: thirdParty.id }, @@ -63,17 +61,14 @@ mode: 'edit', addressId: thirdParty.address.id, buttonSize: 'btn-sm', - openPanesInModal: 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_update', { thirdparty_id: thirdParty.id }), mode: 'new', buttonSize: 'btn-sm', - openPanesInModal: false } %} {% endif %}