tp: fix bindModalStep variable rename with _insert_vue_address

This commit is contained in:
Mathieu Jaumotte 2021-09-16 20:00:46 +02:00
parent 0bb0b24c21
commit 2aa0bbf371
2 changed files with 6 additions and 6 deletions

View File

@ -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 %}
</div>

View File

@ -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 %}
</div>