mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
AddAddress: openPanesInModal, uniq option to enable/disable all step123 in Modal
This commit is contained in:
@@ -89,9 +89,7 @@ export default {
|
||||
edit: 'courselocation.edit_temporary_address'
|
||||
},
|
||||
/// Display each step in page or Modal
|
||||
bindModal: {
|
||||
//step1: false, step2: false
|
||||
},
|
||||
openPanesInModal: true,
|
||||
// Use Date fields
|
||||
useDate: {
|
||||
validFrom: true
|
||||
|
@@ -30,8 +30,7 @@
|
||||
{% 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 }),
|
||||
bindModalStep1: false,
|
||||
bindModalStep2: false,
|
||||
openPanesInModal: false,
|
||||
} %}
|
||||
|
||||
{% endblock %}
|
||||
|
@@ -74,8 +74,7 @@
|
||||
backUrl: path('chill_person_address_list', { 'person_id': person.id }),
|
||||
mode: 'edit',
|
||||
addressId: address.id,
|
||||
bindModalStep1: false,
|
||||
bindModalStep2: false,
|
||||
openPanesInModal: false,
|
||||
} %}
|
||||
#}
|
||||
|
||||
@@ -90,8 +89,7 @@
|
||||
backUrl: path('chill_person_address_list', { 'person_id': person.id }),
|
||||
mode: 'edit',
|
||||
addressId: address.id,
|
||||
bindModalStep1: false,
|
||||
bindModalStep2: false,
|
||||
openPanesInModal: false,
|
||||
} %}
|
||||
#}
|
||||
|
||||
|
@@ -30,8 +30,7 @@
|
||||
{% 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 }),
|
||||
bindModalStep1: false,
|
||||
bindModalStep2: false,
|
||||
openPanesInModal: false,
|
||||
useValidFrom: true,
|
||||
useValidTo: false
|
||||
} %}
|
||||
|
@@ -10,8 +10,7 @@
|
||||
{% 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 }),
|
||||
bindModalStep1: false,
|
||||
bindModalStep2: false,
|
||||
openPanesInModal: false,
|
||||
} %}
|
||||
</div>
|
||||
|
||||
|
@@ -10,8 +10,7 @@
|
||||
{% 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 }),
|
||||
bindModalStep1: false,
|
||||
bindModalStep2: false,
|
||||
openPanesInModal: false,
|
||||
} %}
|
||||
</div>
|
||||
|
||||
|
@@ -40,8 +40,7 @@
|
||||
buttonDisplayText: false,
|
||||
} %}
|
||||
{#
|
||||
bindModalStep1: false,
|
||||
bindModalStep2: true,
|
||||
openPanesInModal: false
|
||||
#}
|
||||
</li>
|
||||
<li class="list-inline-item">
|
||||
|
Reference in New Issue
Block a user