|
|
@ -6,6 +6,9 @@ |
|
|
|
<script type="text/javascript" src="/kalachakra/static/js/booking.js"></script> |
|
|
|
|
|
|
|
</xpath> |
|
|
|
<xpath expr="//link[last()]" position="after"> |
|
|
|
<link rel="stylesheet" type="text/css" href="/kalachakra/static/src/css/kalachakra.css"/> |
|
|
|
</xpath> |
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
@ -14,14 +17,32 @@ |
|
|
|
<t t-call="website.layout"> |
|
|
|
|
|
|
|
<div class="container-fluid"> |
|
|
|
<h4 style="display: inline">Registering to : </h4><h4 style="display: inline" t-esc="event.name"></h4> |
|
|
|
<h6 style="display: inline">Registering to : </h6><h6 style="display: inline" t-esc="event.name"></h6> |
|
|
|
<br></br> |
|
|
|
<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> |
|
|
|
<h6> Your status : <span id="your_status" t-esc='status'></span></h6> |
|
|
|
<h6>Price of the stay : <span id="price_of_the_stay" t-esc="str(int(price))+ ' €'"></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> |
|
|
|
, 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> |
|
|
|
<h6>Total Price : <span id="booking_total_price"></span></h6> |
|
|
|
|
|
|
|
<span>Do you want to pay only the deposit </span><span style="display:inline" t-esc="'('+str(int(event.booking_down_payment))+' €) ?'"/> |
|
|
|
<div class="form-group s_website_form_field col-2 s_website_form_custom s_website_form_required" data-type="char" data-name="Field"> |
|
|
|
<select id="down_payment" name="down_payment" class="form-control s_website_form_input"> |
|
|
|
<option name="yes" value="true" label="Oui"></option> |
|
|
|
<option name="no" selected="false" value="false" label="Non"></option> |
|
|
|
|
|
|
|
</select> |
|
|
|
</div> |
|
|
|
<br></br> |
|
|
|
<h6>Please select your booking options :</h6> |
|
|
|
<br></br> |
|
|
|
<form action="questionnaire" method="post" class="form js_website_submit_form"> |
|
|
|
<input type="hidden" id="booking_price_product" name="price_product" t-att-value="int(price)"/> |
|
|
|
|
|
|
@ -33,16 +54,16 @@ |
|
|
|
<input type="hidden" name="event_id" t-att-value="event.id"/> |
|
|
|
<input type="hidden" id="status" name="status" t-att-value="partner.member_status"/> |
|
|
|
<input type="hidden" id="status2" name="status2" t-att-value="status"/> |
|
|
|
<input type="hidden" id="membership_product" name="membership_product" t-att-value="int(membership_product.membership_product_id)"/> |
|
|
|
<input type="hidden" id="membership_product" name="membership_product" t-att-value="int(membership_product.id)"/> |
|
|
|
<t t-if="options"> |
|
|
|
<table class='table' width='50%'> |
|
|
|
<thead> |
|
|
|
<tr> |
|
|
|
<th>Selection</th> |
|
|
|
<th>Option</th> |
|
|
|
<th>Standard price</th> |
|
|
|
<th>Member price</th> |
|
|
|
<th>Super member price</th> |
|
|
|
<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"/> |
|
|
@ -63,23 +84,11 @@ |
|
|
|
<input type="hidden" name="nb_o" t-att-value="i-1"/> |
|
|
|
</table> |
|
|
|
</t> |
|
|
|
<t t-if="not options"> |
|
|
|
<input type="hidden" name="nb_o" value="0"/> |
|
|
|
</t> |
|
|
|
<h4>Total Price : <span id="booking_total_price"></span></h4> |
|
|
|
|
|
|
|
<span>Do you want to pay only the deposit </span><span style="display:inline" t-esc="'('+str(int(event.booking_down_payment))+' €) ?'"/> |
|
|
|
<div class="form-group s_website_form_field col-2 s_website_form_custom s_website_form_required" data-type="char" data-name="Field"> |
|
|
|
<select id="down_payment" name="down_payment" class="form-control s_website_form_input"> |
|
|
|
<option name="yes" value="true" label="Oui"></option> |
|
|
|
<option name="no" selected="false" value="false" label="Non"></option> |
|
|
|
|
|
|
|
</select> |
|
|
|
</div> |
|
|
|
|
|
|
|
<section class="s_website_form pt16 pb16 o_colored_level"> |
|
|
|
<h6>Participant :</h6> |
|
|
|
|
|
|
|
<div class="form-group s_website_form_field col-4 s_website_form_custom s_website_form_required " data-type="char" data-name="Field"> |
|
|
|
<div class="form-group s_website_form_field col-6 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> |
|
|
@ -90,7 +99,7 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group s_website_form_field col-4 s_website_form_custom s_website_form_required " data-type="char" data-name="Field"> |
|
|
|
<div class="form-group s_website_form_field col-6 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> |
|
|
@ -101,7 +110,7 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group s_website_form_field col-3 s_website_form_custom s_website_form_required" data-type="char" data-name="Field"> |
|
|
|
<div class="form-group s_website_form_field col-4 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> |
|
|
@ -127,7 +136,7 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group s_website_form_field col-4 s_website_form_custom " data-type="char" data-name="Field"> |
|
|
|
<div class="form-group s_website_form_field col-5 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> |
|
|
@ -138,7 +147,7 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group s_website_form_field col-4 s_website_form_custom" data-type="char" data-name="Field"> |
|
|
|
<div class="form-group s_website_form_field col-5 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> |
|
|
@ -149,7 +158,7 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group s_website_form_field col-5 s_website_form_custom" data-type="char" data-name="Field"> |
|
|
|
<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">email</span> |
|
|
@ -180,13 +189,13 @@ |
|
|
|
<h6><u>Health quiz</u></h6> |
|
|
|
<form 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-6 s_website_form_custom s_website_form_required" data-type="char" data-name="Field"> |
|
|
|
<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-sm"> |
|
|
|
<div class="form-group s_website_form_field col-8 s_website_form_custom"> |
|
|
|
<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 soucis médical à signaler"></option> |
|
|
|
<option name="medical_concern" selected="selected" value="have no medical concern" label="Je n'ai pas de soucis médical à signaler"></option> |
|
|
|