|
<odoo>
|
|
|
|
<template id="kalachakra.booking_registration_already_registered" name="Already registered">
|
|
|
|
<t t-call="website.layout">
|
|
|
|
<div class="container-fluid">
|
|
<h6>
|
|
Your registration is not allowed because you are already registered !
|
|
<br></br>
|
|
For further informations, please send an email to <a href = "mailto:gestionnaire@centre-kalachakra.net">gestionnaire@centre-kalachakra.net</a>
|
|
<br></br>
|
|
</h6>
|
|
<a href="/" class="ml-4 btn btn-secondary">back Home</a>
|
|
<br></br>
|
|
<br></br>
|
|
|
|
</div>
|
|
</t>
|
|
</template>
|
|
|
|
<template id="assets_frontend" name="booking assets" inherit_id="web.assets_frontend">
|
|
<xpath expr="." position="inside">
|
|
|
|
<script type="text/javascript" src="/kalachakra/static/js/booking.js"></script>
|
|
<script type="text/javascript" src="/kalachakra/static/js/Datejs/build/date-fr-FR.js"></script>
|
|
|
|
</xpath>
|
|
<xpath expr="//link[last()]" position="after">
|
|
<link rel="stylesheet" type="text/css" href="/kalachakra/static/src/css/kalachakra.css"/>
|
|
|
|
</xpath>
|
|
</template>
|
|
|
|
|
|
<template id="booking_registration_options_form" name="Registration options form">
|
|
|
|
<t t-call="website.layout">
|
|
|
|
<div class="container-fluid">
|
|
<form id="form1" action="questionnaire" method="post" class="form js_website_submit_form">
|
|
<h6 style="display: inline">Registering to : </h6><h6 style="display: inline" t-esc="event.name"></h6>
|
|
<br></br>
|
|
<t t-if="not event.individual_booking_event">
|
|
<h6>From <span t-field="event.date_begin" t-options='{"format": "dd/mm/yyyy hh:mm"}'/> to <span t-field="event.date_end" t-options='{"format": "dd/MM/yyyy hh:mm"}'/> </h6>
|
|
</t>
|
|
<h6> Your status : <span id="your_status" t-esc='your_status'></span></h6>
|
|
<!-- <h6>Price of the stay : <span id="price_of_the_stay" t-esc="str(int(price))+ ' €'"></span></h6>
|
|
<h7>(standard price : <span t-esc="str(int(int(event.booking_price)))+ ' €'"></span>
|
|
, member price : <span t-esc="str(int(int(event.booking_member_price)))+ ' €'"></span>
|
|
, super member price : <span t-esc="str(int(int(event.booking_super_member_price)))+ ' €'"></span>)</h7> -->
|
|
|
|
<br></br>
|
|
<t t-if="not options">
|
|
<input type="hidden" name="nb_o" value="0"/>
|
|
</t>
|
|
<t t-if="event.individual_booking_event">
|
|
|
|
<div>
|
|
<t t-raw="event.individual_booking_html_introduction2"/>
|
|
</div>
|
|
|
|
|
|
<h6>Participations amounts : </h6>
|
|
<table class="table" style="width:50%">
|
|
<tr><td></td><td>Not member</td><td>Member</td><td>Super member</td></tr>
|
|
<tr><td>1 day</td><td style="text-align: center"><span t-esc="str(int(event.individual_day_price))+' €'"/></td>
|
|
<td style="text-align: center"><span t-esc="str(int(event.individual_member_day_price))+' €'"/></td>
|
|
<td style="text-align: center"><span t-esc="str(int(event.individual_super_member_day_price))+' €'"/></td>
|
|
</tr>
|
|
<tr><td style="text-align: center">1 week</td><td style="text-align: center"><span t-esc="str(int(event.individual_week_price))+' €'"/></td>
|
|
<td style="text-align: center"><span t-esc="str(int(event.individual_member_week_price))+' €'"/></td>
|
|
<td style="text-align: center"><span t-esc="str(int(event.individual_super_member_week_price))+' €'"/></td>
|
|
</tr>
|
|
<tr><td style="text-align: center">2 weeks</td><td style="text-align: center"><span t-esc="str(int(event.individual_2weeks_price))+' €'"/></td>
|
|
<td style="text-align: center"><span t-esc="str(int(event.individual_member_2weeks_price))+' €'"/></td>
|
|
<td style="text-align: center"><span t-esc="str(int(event.individual_super_member_2weeks_price))+' €'"/></td>
|
|
</tr>
|
|
<tr><td style="text-align: center">3 weeks</td><td style="text-align: center"><span t-esc="str(int(event.individual_3weeks_price))+' €'"/></td>
|
|
<td style="text-align: center"><span t-esc="str(int(event.individual_member_3weeks_price))+' €'"/></td>
|
|
<td style="text-align: center"><span t-esc="str(int(event.individual_super_member_3weeks_price))+' €'"/></td>
|
|
</tr>
|
|
<tr><td style="text-align: center">1 month</td><td style="text-align: center"><span t-esc="str(int(event.individual_month_price))+' €'"/></td>
|
|
<td style="text-align: center"><span t-esc="str(int(event.individual_member_month_price))+' €'"/></td>
|
|
<td style="text-align: center"><span t-esc="str(int(event.individual_super_member_month_price))+' €'"/></td>
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
</t>
|
|
<t t-if="event.individual_booking_event">
|
|
<h6>Dates souhaitées :</h6>
|
|
<div class="form-group">
|
|
<div class="input-group datetime"
|
|
id="datetimepickerstart_day"
|
|
data-target-input="nearest">
|
|
<div class="col-12 col-sm-12 col-md-6 col-lg-4 col-xl-3">
|
|
<input type="text" placeholder="Du"
|
|
class="form-control datetimepicker-input"
|
|
data-target="#datetimepickerstart_day"
|
|
name="start_day" id="start_day" value="" />
|
|
<div class="input-group-append"
|
|
data-target="#datetimepickerstart_day"
|
|
data-toggle="datetimepicker">
|
|
<div class="input-group-text"><i class="fa fa-calendar"></i></div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<div class="input-group datetime"
|
|
id="datetimepickerend_day"
|
|
data-target-input="nearest">
|
|
<div class="col-12 col-sm-12 col-md-6 col-lg-4 col-xl-3">
|
|
<input type="text" placeholder="Au"
|
|
class="form-control datetimepicker-input"
|
|
data-target="#datetimepickerend_day"
|
|
name="end_day" id="end_day" value="" />
|
|
</div>
|
|
<div class="input-group-append"
|
|
data-target="#datetimepickerend_day"
|
|
data-toggle="datetimepicker">
|
|
<div class="input-group-text"><i class="fa fa-calendar"></i></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<h6 style="color:red;"><span id="days"/></h6>
|
|
|
|
</t>
|
|
<h6 style="color:blue;">Total Price : <span id="booking_total_price"></span></h6>
|
|
|
|
|
|
<div class="form-group s_website_form_field col- s_website_form_custom s_website_form_required " data-type="char" data-name="Field">
|
|
<div class="row s_col_no_resize s_col_no_bgcolor">
|
|
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 400px">
|
|
<span class="s_website_form_label_content">Do you want to pay only the deposit </span><span style="display:inline" t-esc="'('+str(int(event.booking_down_payment))+' €) ?'"/>
|
|
|
|
</label>
|
|
<div class="col- col-sm- col-md-">
|
|
<select form="form1" id="down_payment" name="down_payment" class="form-control s_website_form_input">
|
|
<option name="yes" selected="true" value="true" label="Oui"></option>
|
|
<option name="no" value="false" label="Non"></option>
|
|
|
|
</select>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<br></br>
|
|
|
|
<h6>Please select your booking options :</h6>
|
|
<br></br>
|
|
|
|
<input type="hidden" id="booking_price_product" name="price_product" t-att-value="int(price)"/>
|
|
|
|
<input type="hidden" id="booking_price" name="booking_price" t-att-value="int(event.booking_price)"/>
|
|
<input type="hidden" id="booking_member_price" name="booking_member_price" t-att-value="int(event.booking_member_price)"/>
|
|
<input type="hidden" id="booking_super_member_price" name="booking_super_member_price" t-att-value="int(event.booking_super_member_price)"/>
|
|
|
|
<input type="hidden" id="total_price" name="total_price" t-att-value="int(price)"/>
|
|
<input type="hidden" name="event_id" t-att-value="event.id"/>
|
|
<input type="hidden" id="status" name="status" t-att-value="status"/>
|
|
<input type="hidden" id="status2" name="status2" t-att-value="partner.member_status"/>
|
|
<input type="hidden" id="membership_product" name="membership_product" t-att-value="int(membership_product.id)"/>
|
|
|
|
<input type="hidden" id="individual_booking_event" name="individual_booking_event" t-att-value="individual_booking_event"/>
|
|
<input type="hidden" id="individual_day_price" name="individual_day_price" t-att-value="int(event.individual_day_price)"/>
|
|
<input type="hidden" id="individual_member_day_price" name="individual_member_day_price" t-att-value="int(event.individual_member_day_price)"/>
|
|
<input type="hidden" id="individual_super_member_day_price" name="individual_super_member_day_price" t-att-value="int(event.individual_super_member_day_price)"/>
|
|
|
|
<input type="hidden" id="individual_week_price" name="individual_week_price" t-att-value="int(event.individual_week_price)"/>
|
|
<input type="hidden" id="individual_member_week_price" name="individual_member_week_price" t-att-value="int(event.individual_member_week_price)"/>
|
|
<input type="hidden" id="individual_super_member_week_price" name="individual_super_member_week_price" t-att-value="int(event.individual_super_member_week_price)"/>
|
|
|
|
<input type="hidden" id="individual_2weeks_price" name="individual_2weeks_price" t-att-value="int(event.individual_2weeks_price)"/>
|
|
<input type="hidden" id="individual_member_2weeks_price" name="individual_member_2weeks_price" t-att-value="int(event.individual_member_2weeks_price)"/>
|
|
<input type="hidden" id="individual_super_member_2weeks_price" name="individual_super_member_2weeks_price" t-att-value="int(event.individual_super_member_2weeks_price)"/>
|
|
|
|
<input type="hidden" id="individual_3weeks_price" name="individual_3weeks_price" t-att-value="int(event.individual_3weeks_price)"/>
|
|
<input type="hidden" id="individual_member_3weeks_price" name="individual_member_3weeks_price" t-att-value="int(event.individual_member_3weeks_price)"/>
|
|
<input type="hidden" id="individual_super_member_3weeks_price" name="individual_super_member_3weeks_price" t-att-value="int(event.individual_super_member_3weeks_price)"/>
|
|
|
|
<input type="hidden" id="individual_month_price" name="individual_month_price" t-att-value="int(event.individual_month_price)"/>
|
|
<input type="hidden" id="individual_member_month_price" name="individual_member_month_price" t-att-value="int(event.individual_member_month_price)"/>
|
|
<input type="hidden" id="individual_super_member_month_price" name="individual_super_member_month_price" t-att-value="int(event.individual_super_member_month_price)"/>
|
|
|
|
|
|
<input type="hidden" id="days_duration" name="days_duration"/>
|
|
<input type="hidden" id="price_individual_booking" name="price_individual_booking"/>
|
|
<input type="hidden" id="id_opt_individual_room" t-att-value="int(id_opt_individual_room)"/>
|
|
<input type="hidden" id="id_opt_reduction1200" t-att-value="int(id_opt_reduction1200)"/>
|
|
|
|
<input type="hidden" id="i_opt_individual_room" t-att-value="int(i_opt_individual_room)"/>
|
|
<input type="hidden" id="i_opt_reduction1200" t-att-value="int(i_opt_reduction1200)"/>
|
|
|
|
|
|
<t t-if="options">
|
|
<table class='table' width='50%'>
|
|
<thead>
|
|
<tr>
|
|
<th class="header" scope="col">Selection</th>
|
|
<th class="header" scope="col">Option</th>
|
|
<th class="header" scope="col">Standard price</th>
|
|
<th class="header" scope="col">Member price</th>
|
|
<th class="header" scope="col">Super member price</th>
|
|
</tr>
|
|
</thead>
|
|
<t t-set="i" t-value="1"/>
|
|
<t t-foreach="options" t-as="option">
|
|
<tr>
|
|
<td><input type="checkbox" t-att-name="'o['+str(i)+']'" t-att-value="int(option.booking_option_id)" t-att-id="'o'+str(i)" /></td>
|
|
<td><span t-field="option.name"/></td>
|
|
<td><span t-esc="str(int(option.booking_option_price))+' €'"/></td>
|
|
<td><span t-esc="str(int(option.booking_option_member_price))+' €'"/></td>
|
|
<td><span t-esc="str(int(option.booking_option_super_member_price))+' €'"/></td>
|
|
</tr>
|
|
<input type="hidden" t-att-id="'o_standard'+str(i)" t-att-name="'o_standard['+str(i)+']'" t-att-value="int(option.booking_option_price)"/>
|
|
<input type="hidden" t-att-id="'o_member'+str(i)" t-att-name="'o_member['+str(i)+']'" t-att-value="int(option.booking_option_member_price)"/>
|
|
<input type="hidden" t-att-id="'o_super_member'+str(i)" t-att-name="'o_super_member['+str(i)+']'" t-att-value="int(option.booking_option_super_member_price)"/>
|
|
|
|
<t t-set="i" t-value="i+1"/>
|
|
</t>
|
|
<input type="hidden" name="nb_o" t-att-value="i-1"/>
|
|
</table>
|
|
</t>
|
|
|
|
<section class="s_website_form pt16 pb16 o_colored_level">
|
|
<h6>Participant :</h6>
|
|
|
|
<div class="form-group s_website_form_field s_website_form_custom s_website_form_required" data-type="char" data-name="Field">
|
|
<div class="row s_col_no_resize s_col_no_bgcolor">
|
|
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="9ois9pkv0wv">
|
|
<span class="s_website_form_label_content">Name</span>
|
|
<span class="s_website_form_mark"> *</span>
|
|
</label>
|
|
<div class="col-12 col-sm-12 col-md-6 col-lg-4 col-xl-3">
|
|
<input type="text" class="form-control s_website_form_input" name="name" t-att-value="partner.name" required="1" id="name" style="cursor: auto;"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="form-group s_website_form_field s_website_form_custom s_website_form_required" data-type="char" data-name="Field">
|
|
<div class="row s_col_no_resize s_col_no_bgcolor">
|
|
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="9ois9pkv0wv">
|
|
<span class="s_website_form_label_content">First name</span>
|
|
<span class="s_website_form_mark"> *</span>
|
|
</label>
|
|
<div class="col-12 col-sm-12 col-md-6 col-lg-4 col-xl-3">
|
|
<input type="text" class="form-control s_website_form_input" name="firstname" t-att-value="partner.firstname" required="1" id="firstname" style="cursor: auto;"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="form-group s_website_form_field s_website_form_custom s_website_form_required" data-type="char" data-name="Field">
|
|
<div class="row s_col_no_resize s_col_no_bgcolor">
|
|
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="9ois9pkv0wv">
|
|
<span class="s_website_form_label_content">Age</span>
|
|
<span class="s_website_form_mark"> *</span>
|
|
</label>
|
|
<div class="col-12 col-sm-12 col-md-4 col-lg-2 col-xl-2">
|
|
<input type="number" class="form-control s_website_form_input" name="age" required="1" id="age" style="cursor: auto;"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="form-group s_website_form_field s_website_form_custom s_website_form_required" data-type="char" data-name="Field">
|
|
<div class="row s_col_no_resize s_col_no_bgcolor">
|
|
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="9ois9pkv0wv">
|
|
<span class="s_website_form_label_content">Gender</span>
|
|
<span class="s_website_form_mark"> *</span>
|
|
</label>
|
|
<div class="col-12 col-sm-12 col-md-4 col-lg-2 col-xl-2">
|
|
<select id="gender" name="gender" class="form-control s_website_form_input">
|
|
<option name="male" value="male" label="Homme"></option>
|
|
<option name="femelle" value="femelle" label="Femme"></option>
|
|
|
|
</select>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="form-group s_website_form_field s_website_form_custom s_website_form_required" data-type="char" data-name="Field">
|
|
<div class="row s_col_no_resize s_col_no_bgcolor">
|
|
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="9ois9pkv0wv">
|
|
<span class="s_website_form_label_content">City</span>
|
|
<span class="s_website_form_mark"> *</span>
|
|
|
|
</label>
|
|
<div class="col-12 col-sm-12 col-md-4 col-lg-2 col-xl-2">
|
|
<input type="text" id='city' class="form-control s_website_form_input" name="city" t-att-value="partner.city" style="cursor: auto;"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="form-group s_website_form_field s_website_form_custom " data-type="char" data-name="Field">
|
|
<div class="row s_col_no_resize s_col_no_bgcolor">
|
|
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="9ois9pkv0wv">
|
|
<span class="s_website_form_label_content">Phone</span>
|
|
<span class="s_website_form_mark"></span>
|
|
</label>
|
|
<div class="col-12 col-sm-12 col-md-4 col-lg-2 col-xl-2">
|
|
<input type="text" id='phone' class="form-control s_website_form_input" name="phone" t-att-value="partner.phone" style="cursor: auto;"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="form-group s_website_form_field s_website_form_custom" data-type="char" data-name="Field">
|
|
<div class="row s_col_no_resize s_col_no_bgcolor">
|
|
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="9ois9pkv0wv">
|
|
<span class="s_website_form_label_content">Mobile</span>
|
|
<span class="s_website_form_mark"></span>
|
|
</label>
|
|
<div class="col-12 col-sm-12 col-md-4 col-lg-2 col-xl-2">
|
|
<input type="text" class="form-control s_website_form_input" name="mobile" t-att-value="partner.mobile" id="mobile" style="cursor: auto;"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="form-group s_website_form_field s_website_form_custom" data-type="char" data-name="Field">
|
|
<div class="row s_col_no_resize s_col_no_bgcolor">
|
|
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="9ois9pkv0wv">
|
|
<span class="s_website_form_label_content">email</span>
|
|
<span class="s_website_form_mark"></span>
|
|
</label>
|
|
<div class="col-12 col-sm-12 col-md-6 col-lg-4 col-xl-3">
|
|
<input type="text" class="form-control s_website_form_input" name="email" t-att-value="partner.email" id="email" style="cursor: auto;"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<h6 id='validation_message' style='display:none;color:red'>Please enter an email or a phone or a mobile</h6>
|
|
<button id="back_button1" type="button" class="btn btn-warning" >back</button>
|
|
<button id="continue_button" type="button" class="btn btn-primary" >Continue</button>
|
|
<br/>
|
|
|
|
</section>
|
|
</form>
|
|
</div>
|
|
</t>
|
|
</template>
|
|
|
|
|
|
<template id="booking_registration_questionnaire_form" name="Registration questionnaire form">
|
|
|
|
<t t-call="website.layout">
|
|
|
|
<div class="container-fluid">
|
|
<h4 t-esc="'Inscription à : '+event.name"></h4>
|
|
<h6><u>Health quiz</u></h6>
|
|
<form name="form2" id="form2" action="/booking/payment_choice" method="post" class="form js_website_submit_form">
|
|
<input type="hidden" name="event_id" t-att-value="event.id"/>
|
|
<div class="form-group s_website_form_field col-8 s_website_form_custom s_website_form_required" data-type="char" data-name="Field">
|
|
<div class="row s_col_no_resize s_col_no_bgcolor">
|
|
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="9ois9pkv0wv">
|
|
<span class="s_website_form_label_content">Medical concern</span>
|
|
<span class="s_website_form_mark"> *</span>
|
|
</label>
|
|
<div class="col-12 col-sm-12 col-md-12 col-lg-12 col-xl-8">
|
|
<select id="medical_concern" name="medical_concern" class="form-control s_website_form_input">
|
|
<option name="medical_concern" value="have medical concern" label="J'ai un souci médical à signaler"></option>
|
|
<option name="medical_concern" selected="selected" value="have no medical concern" label="Je n'ai pas de souci médical à signaler"></option>
|
|
<option name="medical_concern" value="no answer" label="Je ne veux pas répondre"></option>
|
|
|
|
|
|
</select>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id='medical_info'>
|
|
<div id="medical_info_div" class="form-group s_website_form_field col-6 s_website_form_custom" data-type="char" data-name="Field">
|
|
<div class="row s_col_no_resize s_col_no_bgcolor">
|
|
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="9ois9pkv0wv">
|
|
<span class="s_website_form_label_content">Informations de nature médicale utiles à connaître (allergies, prise de médicaments, contre-indications…)</span>
|
|
<span class="s_website_form_mark"></span>
|
|
</label>
|
|
<div class="col-sm">
|
|
<textarea class="form-control s_website_form_input" rows="5" name="medical_information" value="" id="medical_information" style="cursor: auto;"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<h6>Please provide us with the contact details of a loved one in the event of a problem encountered during your stay:</h6>
|
|
<div class="form-group s_website_form_field col-6 s_website_form_required" data-type="char" data-name="Field">
|
|
<div class="row s_col_no_resize s_col_no_bgcolor">
|
|
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="9ois9pkv0wv">
|
|
<span class="s_website_form_label_content">Name of the contact</span>
|
|
</label>
|
|
<span class="s_website_form_mark"> *</span>
|
|
<div class="col-12 col-sm-12 col-md-6 col-lg-6 col-xl-6">
|
|
<input type="text" class="form-control s_website_form_input" name="medical_contact_name" value="" required="1" id="medical_contact_name" style="cursor: auto;"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="form-group s_website_form_field col-6 s_website_form_required" data-type="char" data-name="Field">
|
|
<div class="row s_col_no_resize s_col_no_bgcolor">
|
|
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="9ois9pkv0wv">
|
|
<span class="s_website_form_label_content">Phone of the contact</span>
|
|
</label>
|
|
<span class="s_website_form_mark"> *</span>
|
|
<div class="col-12 col-sm-12 col-md-6 col-lg-6 col-xl-6">
|
|
<input type="text" class="form-control s_website_form_input" name="medical_contact_phone" value="" required="1" id="medical_contact_phone" style="cursor: auto;"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="form-group s_website_form_field col- s_website_form_custom s_website_form_required" data-type="char" data-name="Field">
|
|
<div class="row s_col_no_resize s_col_no_bgcolor">
|
|
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 400px">
|
|
<span class="s_website_form_label_content">J'autorise le Centre Kalachakra à utiliser les images fixes ou animées sur lesquelles j'apparais<br></br> pour les usages de promotion et de présentation du centre (facebook, plaquette, site internet etc.)</span>
|
|
|
|
</label>
|
|
<span class="s_website_form_mark"> *</span>
|
|
<div class="col-12 col-sm-12 col-md-6 col-lg-1 col-xl-1">
|
|
<select id="image_permission" name="image_permission" class="form-control s_website_form_input" required="1" >
|
|
<option name="yes_no" value="" label=""></option>
|
|
<option name="yes" value="true" label="Oui"></option>
|
|
<option name="no" value="false" label="Non"></option>
|
|
|
|
</select>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<br/>
|
|
|
|
<t t-if="questions">
|
|
<h6><u>Questionnaire :</u></h6>
|
|
<t t-set="i" t-value="1"/>
|
|
<t t-foreach="questions" t-as="question">
|
|
|
|
<div class="form-group s_website_form_field col-6 s_website_form_custom s_website_form_required ">
|
|
<div class="row s_col_no_resize s_col_no_bgcolor">
|
|
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px">
|
|
<span class="s_website_form_label_content" t-esc="question.question"></span>
|
|
|
|
</label>
|
|
<div class="col-sm">
|
|
<input type="text" class="form-control s_website_form_input" t-att-name="'a['+str(i)+']'" t-att-id="'#a'+str(question.id)"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<input type="hidden" t-att-name="'q['+str(i)+']'" t-att-value="question.question"/>
|
|
<t t-set="i" t-value="i+1"/>
|
|
</t>
|
|
<input type="hidden" name="nb_q" t-att-value="i"/>
|
|
</t>
|
|
<t t-if="not questions">
|
|
<input type="hidden" name="nb_q" value="0"/>
|
|
</t>
|
|
|
|
|
|
|
|
<div class="row">
|
|
<div class="col">
|
|
<br/>
|
|
<h6 id='validation_message' style='display:none;color:red'>Please enter an email or a phone or a mobile</h6>
|
|
|
|
<button id="back_button2" type="button" class="btn btn-warning" >back</button>
|
|
<button id="continue_button2" type="submit" class="btn btn-primary" >Continue</button>
|
|
<br/>
|
|
<br/>
|
|
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</t>
|
|
</template>
|
|
|
|
<template id="booking_payment_choice_form" name="payment choice form">
|
|
<t t-call="website.layout">
|
|
|
|
<div class="container-fluid">
|
|
<div id="payment_method" class="mt-3 col-lg-6">
|
|
<h4 class="mb24">Pay with </h4>
|
|
<t t-call="payment.payment_tokens_list">
|
|
<t t-set="mode" t-value="'payment'"/>
|
|
<t t-set="submit_txt" t-value="submit_txt"/>
|
|
<t t-set="icon_right" t-value="1"/>
|
|
<t t-set="icon_class" t-value="'fa-chevron-right'"/>
|
|
<t t-set="submit_class" t-value="'btn btn-primary fa fa-gift'"/>
|
|
<t t-set="pms" t-value="tokens"/>
|
|
<t t-set="acquirers" t-value="acquirers"/>
|
|
<t t-set="order_id" t-value="order_id"/>
|
|
<t t-set="form_action" t-value="'/booking/payment/token'"/>
|
|
<t t-set="prepare_tx_url" t-value="'/booking/payment/transaction/'"/>
|
|
<t t-set="partner_id" t-value="partner"/>
|
|
|
|
<t t-set="back_button_icon_class" t-value="'fa-chevron-left'"/>
|
|
|
|
<t t-set="back_button_class" t-value="'btn btn-secondary'"/>
|
|
<t t-set="back_button_link" t-value="'/shop/cart'"/>
|
|
</t>
|
|
</div>
|
|
</div>
|
|
</t>
|
|
</template>
|
|
|
|
<template id="booking_thankyou" name="booking form">
|
|
|
|
<t t-call="website.layout">
|
|
|
|
<div class="container-fluid">
|
|
<h2>Thank you for your registration !</h2>
|
|
<a href="/" class="ml-4 btn btn-secondary">back Home</a>
|
|
|
|
|
|
</div>
|
|
</t>
|
|
</template>
|
|
|
|
<template id="individual_confirmation" name="booking form">
|
|
|
|
<t t-call="website.layout">
|
|
|
|
<div class="container-fluid">
|
|
<h6>Merci ! Si votre demande a été précédemment acceptée,</h6>
|
|
<h6>vous recevrez prochainement une confirmation par e-mail.</h6>
|
|
<a href="/" class="ml-4 btn btn-secondary">back Home</a>
|
|
|
|
|
|
</div>
|
|
</t>
|
|
</template>
|
|
|
|
</odoo>
|