Address: twig insert, complete options for use cases

This commit is contained in:
Mathieu Jaumotte 2021-09-23 16:22:10 +02:00
parent f93c13234a
commit 95e0198952
4 changed files with 10 additions and 4 deletions

View File

@ -29,10 +29,12 @@
{# include vue_address component #}
{% include '@ChillMain/Address/_insert_vue_address.html.twig' with {
targetEntity: { name: 'person', id: person.id },
backUrl: path('chill_person_address_list', { 'person_id': person.id }),
openPanesInModal: false,
stickyActions: true,
useValidFrom: true,
} %}
{#
backUrl: path('chill_person_address_list', { 'person_id': person.id }),
#}
{% endblock %}

View File

@ -29,13 +29,13 @@
{# include vue_address component #}
{% include '@ChillMain/Address/_insert_vue_address.html.twig' with {
targetEntity: { name: 'person', id: person.id },
backUrl: path('chill_person_address_list', { 'person_id': person.id }),
openPanesInModal: false,
stickyActions: true,
useValidFrom: true,
} %}
{#
useValidTo: true,
backUrl: path('chill_person_address_list', { 'person_id': person.id }),
openPanesInModal: false,
#}
{% endblock %}

View File

@ -10,8 +10,9 @@
{% include '@ChillMain/Address/_insert_vue_address.html.twig' with {
targetEntity: { name: 'household', id: household.id },
backUrl: path('chill_person_household_addresses', { 'household_id': household.id }),
stickyActions: true,
openPanesInModal: false,
stickyActions: true,
useValidFrom: true,
} %}
</div>

View File

@ -12,7 +12,10 @@
backUrl: path('chill_person_household_addresses', { 'household_id': household.id }),
openPanesInModal: false,
stickyActions: true,
useValidFrom: true,
} %}
{#
#}
</div>
{% endblock %}