sranko/themes/caluire/publik-exports/form-gerer-mes-reservations...

246 lines
13 KiB
XML

<?xml version="1.0"?>
<formdef id="98" url="https://wcs.dev.publik.love/backoffice/forms/98/">
<name>Caluire - G&#233;rer mes r&#233;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&#233;rer mes r&#233;servations</workflow>
<max_field_id>50</max_field_id>
<fields>
<field>
<label type="str">Crit&#232;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">&lt;p&gt;&lt;span class="varname"&gt;form_var_enfant: {{ form_var_enfant }}&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="varname"&gt;form_var_enfant_raw: {{ form_var_enfant_raw }}&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="varname"&gt;form_var_child_id: {{ form_var_child_id }}&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="varname"&gt;form_var_nom_enfant: {{ form_var_nom_enfant }}&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span class="varname"&gt;start: {{ form_var_start_date }}&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="varname"&gt;end: {{ form_var_end_date }}&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="varname"&gt;current: {{ form_var_current_day }}&lt;/span&gt;&lt;/p&gt;
</label>
<type type="str">comment</type>
<display_locations />
<id type="str">42</id>
</field><field>
<label type="str">Les diff&#233;rentes activit&#233;s auxquelles {{ form_var_nom_enfant }} est inscrit (ann&#233;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&#233;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">&lt;p&gt;Afin de&amp;nbsp;naviguer de semaine en semaine, cliquer sur les fl&amp;egrave;ches :&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="https://portail-citoyen-caluire-et-cuire.guichet-recette.grandlyon.com/media/uploads/2021/06/24/fleche_1.png" /&gt;&lt;img alt="" src="https://portail-citoyen-caluire-et-cuire.guichet-recette.grandlyon.com/media/uploads/2021/06/24/fleche_2.png" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</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">&lt;p&gt;Une&amp;nbsp;case&amp;nbsp;pr&amp;eacute;-coch&amp;eacute;e&amp;nbsp;signale que cette activit&amp;eacute; a &amp;eacute;t&amp;eacute; r&amp;eacute;serv&amp;eacute;e.&lt;br /&gt;
Il suffit de d&amp;eacute;cocher une case&amp;nbsp;pour signaler une annulation.&lt;/p&gt;
&lt;p&gt;&lt;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;" /&gt;&lt;br /&gt;
&lt;strong&gt;A noter&lt;/strong&gt; : dans le cas des temps de garderie et d'&amp;eacute;tude dirig&amp;eacute;e, votre&lt;br /&gt;
enfant ne peut pas &amp;ecirc;tre pr&amp;eacute;sent aux deux activit&amp;eacute;s, si vous en choisissez&lt;br /&gt;
une, l'autre s'annule.&lt;/p&gt;</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">&lt;p&gt;&lt;strong&gt;Les couleurs ?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img alt="" src="https://portail-citoyen-caluire-et-cuire.guichet-recette.grandlyon.com/media/uploads/2021/06/25/couleurs_reservation_agenda.png" /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Modifiable :&lt;/strong&gt;&lt;br /&gt;
Case&amp;nbsp;pr&amp;eacute;-coch&amp;eacute;e : activ&amp;eacute;e r&amp;eacute;serv&amp;eacute;e, annulable sans facturation (vous &amp;ecirc;tes dans les d&amp;eacute;lais)&lt;br /&gt;
Case non-coch&amp;eacute;e&amp;nbsp;: activit&amp;eacute; non-r&amp;eacute;serv&amp;eacute;e, ouverte &amp;agrave; r&amp;eacute;servation (l&amp;agrave; encore, vous &amp;ecirc;tes dans les d&amp;eacute;lais)&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Non-modifiable :&lt;/strong&gt;&lt;br /&gt;
Couleur banche : activit&amp;eacute; non-r&amp;eacute;serv&amp;eacute;e et non modifiable (le d&amp;eacute;lai de pr&amp;eacute;venance est &amp;eacute;coul&amp;eacute;)&lt;br /&gt;
Couleur grise : activit&amp;eacute; non disposnible (ferm&amp;eacute;e)&lt;br /&gt;
Couleur verte : activit&amp;eacute; r&amp;eacute;serv&amp;eacute;e et non modifiable (d&amp;eacute;lai de pr&amp;eacute;venance &amp;eacute;coul&amp;eacute;) ou pr&amp;eacute;sence constat&amp;eacute;e &amp;agrave; l'activit&amp;eacute;&lt;br /&gt;
Couleur orange :&amp;nbsp;absence excus&amp;eacute;e&amp;nbsp;&amp;agrave; l'activit&amp;eacute;, qui ne sera pas factur&amp;eacute;e&lt;br /&gt;
Couleur rouge : absence non-excus&amp;eacute;e &amp;agrave; l'activit&amp;eacute;, qui&amp;nbsp;vous sera factur&amp;eacute;e,&lt;/p&gt;</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>