246 lines
13 KiB
XML
246 lines
13 KiB
XML
<?xml version="1.0"?>
|
|
<formdef id="98" url="https://wcs.dev.publik.love/backoffice/forms/98/">
|
|
<name>Caluire - Gérer mes réservations</name>
|
|
<url_name>gerer-mes-reservations</url_name>
|
|
<internal_identifier>caluire-gerer-mes-reservations</internal_identifier>
|
|
<discussion>false</discussion>
|
|
<detailed_emails>true</detailed_emails>
|
|
<disabled>false</disabled>
|
|
<only_allow_one>false</only_allow_one>
|
|
<enable_tracking_codes>false</enable_tracking_codes>
|
|
<confirmation>true</confirmation>
|
|
<always_advertise>false</always_advertise>
|
|
<include_download_all_button>false</include_download_all_button>
|
|
<has_captcha>false</has_captcha>
|
|
<skip_from_360_view>false</skip_from_360_view>
|
|
<workflow slug="portail-famille-gerer-mes-reservations" workflow_id="48">Caluire : gérer mes réservations</workflow>
|
|
<max_field_id>50</max_field_id>
|
|
<fields>
|
|
<field>
|
|
<label type="str">Critères</label>
|
|
<type type="str">page</type>
|
|
<condition>
|
|
<type>django</type>
|
|
<value>not request.GET.child_id and not form_var_child_id</value>
|
|
</condition><id type="str">9</id>
|
|
</field><field>
|
|
<label type="str">Votre enfant</label>
|
|
<type type="str">item</type>
|
|
<required type="bool">True</required>
|
|
<varname type="str">enfant</varname>
|
|
<display_locations>
|
|
<display_location>validation</display_location>
|
|
<display_location>summary</display_location>
|
|
<display_location>listings</display_location>
|
|
</display_locations><extra_css_class type="str">grid-4-12</extra_css_class>
|
|
<prefill>
|
|
<type>string</type>
|
|
<value>{{ form_var_child_id|default:'' }}</value>
|
|
</prefill><display_mode type="str">list</display_mode>
|
|
<items />
|
|
<data_source>
|
|
<type>axel_test</type>
|
|
</data_source><in_filters type="bool">False</in_filters>
|
|
<anonymise type="bool">False</anonymise>
|
|
<display_disabled_items type="bool">False</display_disabled_items>
|
|
<initial_zoom type="str">13</initial_zoom>
|
|
<id type="str">1</id>
|
|
</field><field>
|
|
<label type="str">Current day</label>
|
|
<type type="str">computed</type>
|
|
<varname type="str">current_day</varname>
|
|
<value_template type="str">{{ request.GET.current }}</value_template>
|
|
<freeze_on_initial_value type="bool">True</freeze_on_initial_value>
|
|
<id type="str">48</id>
|
|
</field><field>
|
|
<label type="str">Start date</label>
|
|
<type type="str">computed</type>
|
|
<varname type="str">start_date</varname>
|
|
<value_template type="str">{% if request.GET.reference_year %}{{ request.GET.reference_year }}{% else %}{% now 'Y' as current_year %}{% now 'n' as current_month %}{% if current_month in '87654321' %}{{ current_year|add:'-1' }}{% else %}{{ current_year }}{% endif %}{% endif %}-09-01</value_template>
|
|
<freeze_on_initial_value type="bool">True</freeze_on_initial_value>
|
|
<id type="str">49</id>
|
|
</field><field>
|
|
<label type="str">End date</label>
|
|
<type type="str">computed</type>
|
|
<varname type="str">end_date</varname>
|
|
<value_template type="str">{% if request.GET.reference_year %}{{ request.GET.reference_year|add:'1' }}{% else %}{% now 'Y' as current_year %}{% now 'n' as current_month %}{% if current_month in '87654321' %}{{ current_year }}{% else %}{{ current_year|add:'1' }}{% endif %}{% endif %}-08-31</value_template>
|
|
<freeze_on_initial_value type="bool">True</freeze_on_initial_value>
|
|
<id type="str">50</id>
|
|
</field><field>
|
|
<label type="str">Calendrier</label>
|
|
<type type="str">page</type>
|
|
<id type="str">10</id>
|
|
</field><field>
|
|
<label type="str">Current day</label>
|
|
<type type="str">computed</type>
|
|
<varname type="str">current_day</varname>
|
|
<value_template type="str">{{ request.GET.current }}</value_template>
|
|
<freeze_on_initial_value type="bool">True</freeze_on_initial_value>
|
|
<id type="str">45</id>
|
|
</field><field>
|
|
<label type="str">Start date</label>
|
|
<type type="str">computed</type>
|
|
<varname type="str">start_date</varname>
|
|
<value_template type="str">{% if request.GET.reference_year %}{{ request.GET.reference_year }}{% else %}{% now 'Y' as current_year %}{% now 'n' as current_month %}{% if current_month in '87654321' %}{{ current_year|add:'-1' }}{% else %}{{ current_year }}{% endif %}{% endif %}-09-01</value_template>
|
|
<freeze_on_initial_value type="bool">True</freeze_on_initial_value>
|
|
<id type="str">47</id>
|
|
</field><field>
|
|
<label type="str">End date</label>
|
|
<type type="str">computed</type>
|
|
<varname type="str">end_date</varname>
|
|
<value_template type="str">{% if request.GET.reference_year %}{{ request.GET.reference_year|add:'1' }}{% else %}{% now 'Y' as current_year %}{% now 'n' as current_month %}{% if current_month in '87654321' %}{{ current_year }}{% else %}{{ current_year|add:'1' }}{% endif %}{% endif %}-08-31</value_template>
|
|
<freeze_on_initial_value type="bool">True</freeze_on_initial_value>
|
|
<id type="str">46</id>
|
|
</field><field>
|
|
<label type="str">Id de l'enfant</label>
|
|
<type type="str">computed</type>
|
|
<varname type="str">child_id</varname>
|
|
<value_template type="str">{{ request.GET.child_id }}</value_template>
|
|
<freeze_on_initial_value type="bool">True</freeze_on_initial_value>
|
|
<id type="str">41</id>
|
|
</field><field>
|
|
<label type="str">Nom de l'enfant</label>
|
|
<type type="str">computed</type>
|
|
<varname type="str">nom_enfant</varname>
|
|
<value_template type="str">{% for item in data_source.axel_test %}{% if item.id == form_var_child_id|default:form_var_enfant_id %}{{ item.text }}{% endif %}{% endfor %}</value_template>
|
|
<freeze_on_initial_value type="bool">False</freeze_on_initial_value>
|
|
<id type="str">44</id>
|
|
</field><field>
|
|
<label type="str"><p><span class="varname">form_var_enfant: {{ form_var_enfant }}</span></p>
|
|
|
|
<p><span class="varname">form_var_enfant_raw: {{ form_var_enfant_raw }}</span></p>
|
|
|
|
<p><span class="varname">form_var_child_id: {{ form_var_child_id }}</span></p>
|
|
|
|
<p><span class="varname">form_var_nom_enfant: {{ form_var_nom_enfant }}</span></p>
|
|
|
|
<p>&nbsp;</p>
|
|
|
|
<p><span class="varname">start: {{ form_var_start_date }}</span></p>
|
|
|
|
<p><span class="varname">end: {{ form_var_end_date }}</span></p>
|
|
|
|
<p><span class="varname">current: {{ form_var_current_day }}</span></p>
|
|
</label>
|
|
<type type="str">comment</type>
|
|
<display_locations />
|
|
<id type="str">42</id>
|
|
</field><field>
|
|
<label type="str">Les différentes activités auxquelles {{ form_var_nom_enfant }} est inscrit (année scolaire {{ form_var_start_date|date:"Y" }}/{{ form_var_end_date|date:"Y" }})</label>
|
|
<type type="str">title</type>
|
|
<display_locations />
|
|
<id type="str">40</id>
|
|
</field><field>
|
|
<label type="str">Agenda toutes activités</label>
|
|
<type type="str">items</type>
|
|
<required type="bool">False</required>
|
|
<varname type="str">agenda_toutes_activites</varname>
|
|
<display_locations>
|
|
<display_location>validation</display_location>
|
|
<display_location>listings</display_location>
|
|
</display_locations><extra_css_class type="str">template-caluire-reservations-enfant</extra_css_class>
|
|
<prefill>
|
|
<type>none</type>
|
|
</prefill><items />
|
|
<display_mode type="str">checkboxes</display_mode>
|
|
<min_choices type="int">0</min_choices>
|
|
<max_choices type="int">0</max_choices>
|
|
<data_source>
|
|
<type>axel_liste_des_reservations</type>
|
|
</data_source><in_filters type="bool">False</in_filters>
|
|
<anonymise type="bool">False</anonymise>
|
|
<display_disabled_items type="bool">True</display_disabled_items>
|
|
<id type="str">23</id>
|
|
</field><field>
|
|
<label type="str">Une petite aide ?</label>
|
|
<type type="str">title</type>
|
|
<display_locations />
|
|
<id type="str">32</id>
|
|
</field><field>
|
|
<label type="str">Comment changer de semaine ?</label>
|
|
<type type="str">bool</type>
|
|
<required type="bool">False</required>
|
|
<varname type="str">aide_changer_semaine</varname>
|
|
<display_locations />
|
|
<extra_css_class type="str">newline grid-4-12</extra_css_class>
|
|
<prefill>
|
|
<type>none</type>
|
|
</prefill><id type="str">33</id>
|
|
</field><field>
|
|
<label type="str">Comment agir sur cet agenda ?</label>
|
|
<type type="str">bool</type>
|
|
<required type="bool">False</required>
|
|
<varname type="str">aide_action_agenda</varname>
|
|
<display_locations />
|
|
<extra_css_class type="str">grid-4-12</extra_css_class>
|
|
<prefill>
|
|
<type>none</type>
|
|
</prefill><id type="str">34</id>
|
|
</field><field>
|
|
<label type="str">Expliquez-moi les couleurs</label>
|
|
<type type="str">bool</type>
|
|
<required type="bool">False</required>
|
|
<varname type="str">aide_couleurs</varname>
|
|
<display_locations />
|
|
<extra_css_class type="str">grid-4-12</extra_css_class>
|
|
<prefill>
|
|
<type>none</type>
|
|
</prefill><id type="str">35</id>
|
|
</field><field>
|
|
<label type="str"><p>Afin de&nbsp;naviguer de semaine en semaine, cliquer sur les fl&egrave;ches :</p>
|
|
|
|
<p><img alt="" src="https://portail-citoyen-caluire-et-cuire.guichet-recette.grandlyon.com/media/uploads/2021/06/24/fleche_1.png" /><img alt="" src="https://portail-citoyen-caluire-et-cuire.guichet-recette.grandlyon.com/media/uploads/2021/06/24/fleche_2.png" /></p>
|
|
|
|
<p>&nbsp;</p></label>
|
|
<type type="str">comment</type>
|
|
<condition>
|
|
<type>django</type>
|
|
<value>form_var_aide_changer_semaine</value>
|
|
</condition><extra_css_class type="str">pk-information</extra_css_class>
|
|
<display_locations />
|
|
<id type="str">30</id>
|
|
</field><field>
|
|
<label type="str"><p>Une&nbsp;case&nbsp;pr&eacute;-coch&eacute;e&nbsp;signale que cette activit&eacute; a &eacute;t&eacute; r&eacute;serv&eacute;e.<br />
|
|
Il suffit de d&eacute;cocher une case&nbsp;pour signaler une annulation.</p>
|
|
|
|
<p><img alt="" src="https://portail-citoyen-caluire-et-cuire.guichet-recette.grandlyon.com/media/uploads/2021/06/25/case_a_cocher_agenda.png" style="width: 300px; height: 48px;" /><br />
|
|
<strong>A noter</strong> : dans le cas des temps de garderie et d'&eacute;tude dirig&eacute;e, votre<br />
|
|
enfant ne peut pas &ecirc;tre pr&eacute;sent aux deux activit&eacute;s, si vous en choisissez<br />
|
|
une, l'autre s'annule.</p></label>
|
|
<type type="str">comment</type>
|
|
<condition>
|
|
<type>django</type>
|
|
<value>form_var_aide_action_agenda</value>
|
|
</condition><extra_css_class type="str">pk-information</extra_css_class>
|
|
<display_locations />
|
|
<id type="str">37</id>
|
|
</field><field>
|
|
<label type="str"><p><strong>Les couleurs ?</strong></p>
|
|
|
|
<p><strong><img alt="" src="https://portail-citoyen-caluire-et-cuire.guichet-recette.grandlyon.com/media/uploads/2021/06/25/couleurs_reservation_agenda.png" /></strong></p>
|
|
|
|
<p><strong>Modifiable :</strong><br />
|
|
Case&nbsp;pr&eacute;-coch&eacute;e : activ&eacute;e r&eacute;serv&eacute;e, annulable sans facturation (vous &ecirc;tes dans les d&eacute;lais)<br />
|
|
Case non-coch&eacute;e&nbsp;: activit&eacute; non-r&eacute;serv&eacute;e, ouverte &agrave; r&eacute;servation (l&agrave; encore, vous &ecirc;tes dans les d&eacute;lais)</p>
|
|
|
|
<p><strong>Non-modifiable :</strong><br />
|
|
Couleur banche : activit&eacute; non-r&eacute;serv&eacute;e et non modifiable (le d&eacute;lai de pr&eacute;venance est &eacute;coul&eacute;)<br />
|
|
Couleur grise : activit&eacute; non disposnible (ferm&eacute;e)<br />
|
|
Couleur verte : activit&eacute; r&eacute;serv&eacute;e et non modifiable (d&eacute;lai de pr&eacute;venance &eacute;coul&eacute;) ou pr&eacute;sence constat&eacute;e &agrave; l'activit&eacute;<br />
|
|
Couleur orange :&nbsp;absence excus&eacute;e&nbsp;&agrave; l'activit&eacute;, qui ne sera pas factur&eacute;e<br />
|
|
Couleur rouge : absence non-excus&eacute;e &agrave; l'activit&eacute;, qui&nbsp;vous sera factur&eacute;e,</p></label>
|
|
<type type="str">comment</type>
|
|
<condition>
|
|
<type>django</type>
|
|
<value>form_var_aide_couleurs</value>
|
|
</condition><extra_css_class type="str">pk-information</extra_css_class>
|
|
<display_locations />
|
|
<id type="str">36</id>
|
|
</field>
|
|
</fields><roles>
|
|
<role role_id="8bd24545f7b44a1f9d3027239540bc47" role_key="_testeur">8bd24545f7b44a1f9d3027239540bc47</role>
|
|
</roles><options>
|
|
<option varname="id_connecteur_axel">truc</option>
|
|
</options><custom_views />
|
|
<geolocations />
|
|
</formdef> |