tp: adapt variables for include _insert_vue_address

This commit is contained in:
Mathieu Jaumotte 2021-09-17 13:26:57 +02:00
parent 8204107ceb
commit 210d819125
2 changed files with 6 additions and 6 deletions

View File

@ -46,7 +46,7 @@
mode: 'edit',
addressId: thirdParty.address.id,
buttonSize: 'btn-sm',
bindModalStep1: false,
openPanesInModal: false,
} %}
{% else %}
create address
@ -54,11 +54,11 @@
{% include '@ChillMain/Address/_insert_vue_address.html.twig' with {
targetEntity: { name: 'thirdparty', id: thirdParty.id },
backUrl: path('chill_3party_3party_new'),
mode: 'create',
mode: 'new',
buttonSize: 'btn-sm',
buttonText: 'Create a new address',
modalTitle: 'Create a new address',
bindModalStep1: false,
openPanesInModal: false,
} %}
{% endif %}
</div>

View File

@ -63,7 +63,7 @@
mode: 'edit',
addressId: thirdParty.address.id,
buttonSize: 'btn-sm',
bindModalStep1: false
openPanesInModal: false
} %}
{% else %}
create address
@ -71,9 +71,9 @@
{% 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: 'create',
mode: 'new',
buttonSize: 'btn-sm',
bindModalStep1: false
openPanesInModal: false
} %}
{% endif %}
</div>