0.0.263
This commit is contained in:
@@ -53,7 +53,7 @@ $(function() {
|
||||
function(start, end, label) {
|
||||
|
||||
// $('#displayRegervation').text('Registration date is: ' + start.format('YYYY-MM-DD') + ' to ' + end.format('YYYY-MM-DD'));
|
||||
$('#id_arrival_DT').val(start.format('YYYY.MM.DD') + " - " + end.format('YYYY.MM.DD'))
|
||||
$('#id_arrival_DT').val(start.format('DD.MM.YYYY') + " - " + end.format('DD.MM.YYYY'))
|
||||
});
|
||||
|
||||
$(`${place_1.id} .drp-calendar.right`).hide();
|
||||
@@ -79,7 +79,7 @@ $(function() {
|
||||
// $('#displayRegervation').text('Registration date is: ' + start.format('YYYY-MM-DD') + ' to ' + end.format('YYYY-MM-DD'));
|
||||
// $('#regervation')[0].dataset['departure_DT'] = start.format('YYYY-MM-DD');
|
||||
// $('#regervation')[0].dataset['arrival_DT'] = end.format('YYYY-MM-DD');
|
||||
$('#id_departure_DT').val(start.format('YYYY.MM.DD') + " - " + end.format('YYYY.MM.DD'))
|
||||
$('#id_departure_DT').val(start.format('DD.MM.YYYY') + " - " + end.format('DD.MM.YYYY'))
|
||||
|
||||
});
|
||||
|
||||
|
||||
@@ -78,13 +78,13 @@
|
||||
<div class="cont-el-form-search-carrier">
|
||||
<label for="id_departure_DT">Дата отправки</label>
|
||||
{# <input class="el_form_find_route" name="departure_DT" id="id_departure_DT" type="date" {% if route_form.fields.departure_DT.required %} {% endif %} {% if route_form.initial.departure_DT %} value="{{ route_form.initial.departure_DT }}"{% endif %} >#}
|
||||
<input class="el_form_find_route" type="text" id="id_departure_DT" name="departure_DT" placeholder="Please select regervation date!"/>
|
||||
<input class="el_form_find_route" type="text" id="id_departure_DT" name="departure_DT" placeholder="" {% if route_form.initial.departure_DT %} value="{{ route_form.initial.departure_DT }}"{% endif %}/>
|
||||
<div id="displayRegervation"></div>
|
||||
</div>
|
||||
<div class="cont-el-form-search-carrier">
|
||||
<label for="id_arrival_DT">Дата прибытия</label>
|
||||
{# <input class="el_form_find_route" name="arrival_DT" id="id_arrival_DT" type="date" {% if route_form.initial.arrival_DT %} value="{{ route_form.initial.arrival_DT }}"{% endif %}>#}
|
||||
<input class="el_form_find_route" type="text" name="arrival_DT" id="id_arrival_DT" placeholder="Please select regervation date!"/>
|
||||
<input class="el_form_find_route" type="text" name="arrival_DT" id="id_arrival_DT" placeholder="" {% if route_form.initial.arrival_DT %} value="{{ route_form.initial.arrival_DT }}"{% endif %}/>
|
||||
<div id="displayRegervation"></div>
|
||||
</div>
|
||||
<div class="cont-el-form-search-carrier last">
|
||||
|
||||
Reference in New Issue
Block a user