<?php
$form = $this->form;
$form->prepare();
$form->setAttribute('action', $this->url('outstation', ['action' => 'round-trip-vehicle-listing']));
$form->setAttribute('method', 'post');
$form->setAttribute('id', 'vehicle-search-form');
echo $this->form()->openTag($form);
?>
<div id="booking_outstation" class="portlet portlet-purple border-otstation">
    <div id="inputSizing" class="panel-collapse in height-outo">
        <div class="portlet-body paddingT10pxRL15pxB0 ">
            <!--multiple country-->
            <div>
                <div class="row clearfix padding-bot10px" id="oneway_Outstation">
                    <div class="col-sm-12 no-padding">

                        <div class="col-sm-1 margintop10">
                            <?php echo $this->translate($this->formLabel($form->get('pickup_city'))); ?>
                        </div>

                        <div class="col-sm-2 margintop10">
                            <div class="group">
                                <?php echo $this->formElement($form->get('pickup_city')); ?>
                                <?php echo $this->formElementErrors($form->get('pickup_city'), ['class' => 'error']); ?>
                                <span class="highlight"></span>
                                <span class="bar"></span>
                            </div>
                        </div>

                        <div class="col-sm-1 margintop10">
                            <?php echo $this->translate($this->formLabel($form->get('drop_city'))); ?>
                        </div>

                        <div class="col-sm-2 margintop10">
                            <div class="group">
                                <?php echo $this->formElement($form->get('drop_city')); ?>
                                <?php echo $this->formElementErrors($form->get('drop_city'), ['class' => 'error']); ?>
                                <span class="highlight"></span>
                                <span class="bar"></span>
                            </div>
                        </div>


                        <div class="col-sm-1 margintop10">
                            Departure*
                        </div>

                        <div class="col-sm-3 padding_margin0">
                            <div class="col-sm-7 margintop10">
                                <div class="group">
                                    <?php echo $this->formElement($form->get('pickup_date')); ?>
                                    <?php echo $this->formElementErrors($form->get('pickup_date'), ['class' => 'error']); ?>
                                    <span class="highlight"></span>
                                    <span class="bar"></span>
                                </div>
                            </div>

                            <div class="col-sm-5 margintop10" >
                                <div class="group">
                                    <div class="input-group clockpicker" data-placement="bottom" data-align="left" data-donetext="Done">
                                        <?php echo $this->formElement($form->get('pickup_time')); ?>
                                        <?php echo $this->formElementErrors($form->get('pickup_time'), ['class' => 'error']); ?>
                                        <span class="input-group-addon">
                                            <span class="glyphicon glyphicon-time"></span>
                                        </span>
                                    </div>
                                </div>


                            </div>
                        </div>
                        <div class="col-sm-2 margintop10">
                            <div class="group">
                                <?php echo $this->formElement($form->get('number_of_days')); ?>
                                <span class="highlight"></span>
                                <span class="bar"></span>

                            </div>
                        </div>
                    </div>

                    <div class="col-sm-12 no-padding">

                        <div class="col-sm-1 margintop10">
                            <?php echo $this->translate($this->formLabel($form->get('pickup_city1'))); ?>
                        </div>

                        <div class="col-sm-2 margintop10">
                            <div class="group">
                                <?php echo $this->formElement($form->get('pickup_city1')); ?>
                                <?php echo $this->formElementErrors($form->get('pickup_city1'), ['class' => 'error']); ?>
                                <span class="highlight"></span>
                                <span class="bar"></span>
                            </div>
                        </div>

                        <div class="col-sm-1 margintop10">
                            <?php echo $this->translate($this->formLabel($form->get('drop_city1'))); ?>
                        </div>

                        <div class="col-sm-2 margintop10">
                            <div class="group">
                                <?php echo $this->formElement($form->get('drop_city1')); ?>
                                <?php echo $this->formElementErrors($form->get('drop_city1'), ['class' => 'error']); ?>
                                <span class="highlight"></span>
                                <span class="bar"></span>
                            </div>
                        </div>


                        <div class="col-sm-1 margintop10">
                            Return*
                        </div>

                        <div class="col-sm-3 padding_margin0">
                            <div class="col-sm-7 margintop10">
                                <div class="group">
                                    <?php echo $this->formElement($form->get('return_date')); ?>
                                    <?php echo $this->formElementErrors($form->get('return_date'), ['class' => 'error']); ?>
                                    <span class="highlight"></span>
                                    <span class="bar"></span>
                                </div>
                            </div>

                            <div class="col-sm-5 margintop10" >
                                <div class="group">
                                    <div class="input-group clockpicker" data-placement="bottom" data-align="left" data-donetext="Done">
                                        <?php echo $this->formElement($form->get('return_time')); ?>
                                        <?php echo $this->formElementErrors($form->get('return_time'), ['class' => 'error']); ?>
                                        <span class="input-group-addon">
                                            <span class="glyphicon glyphicon-time return-time-icon"></span>
                                        </span>
                                    </div>
                                </div>


                            </div>
                        </div>
                        <!--<div class="col-sm-2 margintop10">
                            <div class="group">
                                <?php echo $this->formElement($form->get('number_of_days')); ?>
                                <span class="highlight"></span>
                                <span class="bar"></span>

                            </div>
                        </div>-->
                    </div>

                    <div class="col-sm-12 no-padding">


                        <div class="col-sm-3 margintop10">
                            <label class="booking-check"><?php echo $this->translate('Coming Mode is Flight'); ?>
                                <?php echo $this->formElement($form->get('flight_mode')); ?>
                                <span class="checkmark"></span>
                                <?php echo $this->formElement($form->get('flight_mode_selected')); ?>
                            </label>
                        </div>

                        <div class="disable_none"  id="flight-mode-div">
                            <div class="col-sm-1 margintop10">
                                <?php echo $this->translate($this->formLabel($form->get('flight_number'))); ?>
                            </div>
                            <div class="col-sm-2 margintop10">
                                <div class="group">
                                    <?php echo $this->formElement($form->get('flight_number')); ?>
                                    <?php echo $this->formElementErrors($form->get('flight_number'), ['class' => 'error']); ?>
                                    <span class="highlight"></span>
                                    <span class="bar"></span>
                                </div>
                            </div>

                            <div class="col-sm-2 margintop10">
                                <?php echo $this->translate($this->formLabel($form->get('flight_time'))); ?>
                            </div>
                            <div class="col-sm-2 margintop10">
                                <div class="input-group clockpicker" data-placement="bottom" data-align="left" data-donetext="Done">
                                    <?php echo $this->formElement($form->get('flight_time')); ?>
                                    <?php echo $this->formElementErrors($form->get('flight_time'), ['class' => 'error']); ?>
                                    <span class="input-group-addon">
                                        <span class="glyphicon glyphicon-time"></span>
                                    </span>
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="col-sm-12 no-padding">
                        <div class="col-sm-1 margintop10">
                            <?php echo $this->translate($this->formLabel($form->get('adults'))); ?>
                        </div>
                        <div class="col-sm-2 margintop10">
                            <div class="group quantity">
                                <?php echo $this->formElement($form->get('adults')); ?>
                                <?php echo $this->formElementErrors($form->get('adults'), ['class' => 'error']); ?>
                                <span class="highlight"></span>
                                <span class="bar"></span>
                            </div>
                        </div>


                        <div class="col-sm-1 margintop10" >
                            <?php echo $this->translate($this->formLabel($form->get('childs'))); ?>
                        </div>
                        <div class="col-sm-2 margintop10">
                            <div class="group quantity">
                                <?php echo $this->formElement($form->get('childs')); ?>
                                <?php echo $this->formElementErrors($form->get('childs'), ['class' => 'error']); ?>
                                <span class="highlight"></span>
                                <span class="bar"></span>
                            </div>
                        </div>

                        <div class="col-sm-1 margintop10" >
                            <?php echo $this->translate($this->formLabel($form->get('luggages'))); ?>
                        </div>
                        <div class="col-sm-2 margintop10">
                            <div class="group quantity">
                                <?php echo $this->formElement($form->get('luggages')); ?>
                                <?php echo $this->formElementErrors($form->get('luggages'), ['class' => 'error']); ?>
                                <span class="highlight"></span>
                                <span class="bar"></span>
                            </div>
                        </div>

                        <div class="col-sm-1 margintop10" >
                            <?php echo $this->translate($this->formLabel($form->get('no_of_vehicles'))); ?>
                        </div>
                        <div class="col-sm-2 margintop10">
                            <div class="group quantity">
                                <?php echo $this->formElement($form->get('no_of_vehicles')); ?>
                                <?php echo $this->formElementErrors($form->get('no_of_vehicles'), ['class' => 'error']); ?>
                                <span class="highlight"></span>
                                <span class="bar"></span>
                            </div>
                        </div>
                    </div>

                    <div class="col-sm-12 no-padding">
                        <div class="col-sm-2 margintop10">
                            <?php echo $this->translate($this->formLabel($form->get('pickup_address'))); ?>
                        </div>

                        <div class="col-sm-10 margintop10">
                            <div class="group">
                                <?php echo $this->formElement($form->get('pickup_address')); ?>
                                <?php echo $this->formElementErrors($form->get('pickup_address'), ['class' => 'error']); ?>
                                <span class="highlight"></span>
                                <span class="bar"></span>
                            </div>
                        </div>
                    </div>

                    <div class="col-sm-12 no-padding">
                        <div class="col-sm-2 margintop10">
                            <?php echo $this->translate($this->formLabel($form->get('nationality'))); ?>
                        </div>

                        <div class="col-sm-10 margintop10">
                            <div class="group">
                                <?php echo $this->formElement($form->get('nationality')); ?>
                                <?php echo $this->formElementErrors($form->get('nationality'), ['class' => 'error']); ?>
                                <span class="highlight"></span>
                                <span class="bar"></span>
                            </div>
                        </div>
                    </div>

                    <div class="col-sm-12 margintop10">
                    </div>

                    <div class="col-sm-8">
                <div class="col-md-8 no-padding" style="width:auto !important;">
                    <h6><strong>Note – Booking will be Accepted After 1 Hour from Current Time</strong></h6>
                </div>
                </div>

                    <div class="col-sm-12 no-padding">
                        <div class="col-sm-3 margintop10">
                            <?php echo $this->FormElement($form->get('search_a_car')); ?>
                        </div>
                    </div>
                    <?php echo $this->formElement($form->get('module_type')); ?>
                    <?php echo $this->FormElement($form->get('master_package_type')); ?>
                    <?php echo $this->FormElement($form->get('pickcity_id')); ?>
                    <?php echo $this->FormElement($form->get('dropcity_id')); ?>
                    <?php echo $this->FormElement($form->get('drop_date')); ?>
                    <?php echo $this->FormElement($form->get('drop_time')); ?>
                    <?php echo $this->FormElement($form->get('return_drop_date')); ?>
                    <?php echo $this->FormElement($form->get('return_drop_time')); ?>
                    <?php echo $this->FormElement($form->get('city_latitude')); ?>
                    <?php echo $this->FormElement($form->get('city_longitude')); ?>
                    <?php echo $this->FormElement($form->get('city_northeast_latitude')); ?>
                    <?php echo $this->FormElement($form->get('city_northeast_longitude')); ?>
                    <?php echo $this->FormElement($form->get('city_southwest_latitude')); ?>
                    <?php echo $this->FormElement($form->get('city_southwest_longitude')); ?>
                </div>
            </div>
        </div>
    </div>
</div>
<?php echo $this->form()->closeTag(); ?>