tp: adapt _insert_vue_address include parameters

This commit is contained in:
Mathieu Jaumotte 2021-09-15 18:41:14 +02:00
parent 9725970c56
commit 310e9f5a82

View File

@ -59,7 +59,7 @@
{# 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 }),
backUrl: path('chill_3party_3party_update', { thirdparty_id: thirdParty.id }),
mode: 'edit',
addressId: thirdParty.address.id,
buttonSize: 'btn-sm',
@ -70,7 +70,7 @@
{# 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 }),
backUrl: path('chill_3party_3party_update', { thirdparty_id: thirdParty.id }),
mode: 'create',
buttonSize: 'btn-sm',
binModalStep1: false