<div class="col-md-8 banner-bottom-grid widthpercent60 padding_margin0">

    <div class="destinations-grid-info tours tours1 marginbot10">
        <div class="mapcantiner_inner1 no-padding">
            <div class="margin-bot10px padding-bot10px">
                <div class="col-md-2 sightmargin overviueimgcar" align="left"> Vehicle Type </div>
                <div class="col-md-2 sightmargin overviueimg2car" align="left"> </div>
                <div class="col-md-2 sightmargin overviueimg2car1" align="left" > <span class="vehicle_name">Departure</span><br></div>
                <div class="col-md-2 sightmargin overviueimg2" align="left"> <span class="vehicle_name">Arrival</span><br></div>
                <div class="col-md-2 sightmargin overviueimg2car1 padding_margin0" align="left"> <span class="vehicle_name">Duration & Price</span><br>
                </div>
            </div>
        </div>
    </div>
    <div class="clearfix"> </div>

    <!--    ACCORDIAN START-->

    <div id="filtered-vehicle-data">



        <?php
//Zend\Debug\Debug::dump($vehicleList); die;
$exchange_rate  =   $currData['exchange_rate'];
$i = 1;
if (count($vehicleList) > 0) {
    foreach ($vehicleList as $data1) {
        $dataCount = count($data1);
        $val = $data1[0];
        ?>
        <div id="accordion" class="panel-group">
            <div class="panel panel-default">
                <div>
                    <h4 class="panel-title">
                        <div style="margin-top:20px;" >
                            <div style="padding:0 !important;" class="mapcantiner_inner1">
                                <div style="margin:0 0 0; padding:0 0 0;" class="">

                                    <div align="center" class="col-md-2 border-rignt-carlisst"> <span class="image_box padding0 margin0"> <img src="/<?php echo $val['vehicle_image']; ?>"></span> <br>
                                        <div class="font-siz-14px margin0 vehicle-type"> <?php echo $val['vehicle_type']; ?> </div>
                                        <div class="margin0 vehicle-type tooltip"><?php echo substr(ucwords(strtolower($val['vehicle_name']), ','), 0, 25); ?> ...
                                                    <div class="tooltiptext">
                                                        <table width="90%" align="center" cellspacing="5" cellpadding="5" class="white">
                                                            <tr>
                                                                <td><?php echo $val['vehicle_name']; ?></td>
                                                            </tr>
                                                        </table>
                                                    </div>
                                                </div>
                                    </div>

                                    <div class="col-sm-10">
                                        <div align="left" class="col-md-3 iocn-no-padding">
                                            <div class="amenities">
                                                <ul>
                                                    <li style="float:left; line-height:13px;  padding: 0 0 0 5px; text-align:center;"><i class="icon_pertion"></i><br>
                                                        <br>
                                                        <?php echo $val['seating_capacity']; ?></li>
                                                    <li style="float:left; line-height:13px;  padding: 0 0 0 5px; text-align:center;"><i class="icon_lagguge"></i><br>
                                                        <br>
                                                        <?php echo $val['luggage']; ?></li>
                                                    <li style="float:left; line-height:13px;  padding: 0 0 0 5px; text-align:center;"><i class="icon_ac"></i><br>
                                                        <br>
                                                        <?php echo $val['vehicle_ignition_type']; ?></li>
                                                </ul>
                                            </div>
                                        </div>
                                        <div align="left" class="col-md-31  overviueimg2car1"> <span class="vehicle_name"><?php echo $data['items'][0]['pickup_city']; ?></span><br>
                                            <span class="vehicle_name"><?php echo $data['items'][0]['pickup_date']; ?>/ <?php echo $data['items'][0]['pickup_time']; ?></span> </div>
                                        <?php $lastItem = count($data['items']) - 1; ?>
                                        <div align="left" class="col-md-31 overviueimg2"> <span class="vehicle_name"><?php echo $data['items'][$lastItem]['drop_city']; ?></span><br>
                                            <span class="vehicle_name"><?php echo $data['items'][$lastItem]['drop_date']; ?>/ <?php echo $data['items'][$lastItem]['drop_time']; ?></span> </div>

                                        <div align="left" class="col-md-3"> <span class="vehicle_name"><?php echo isset($data['items'][0]['duration']) ? $data['items'][0]['duration'] : ''; ?> | <?php echo $data['distance']; ?> KM</span><br>

                                            <div id="item_3" class="pull-left pointer tooltip">
                                                Fare Details
                                                <div class="tooltiptext" title="Item 3 Description">
                                                    <table width="90%" align="center" cellspacing="5" cellpadding="5" class="white">
                                                        <tr>
                                                            <td>Base Fare</td>
                                                            <td align="right"><i class="<?php echo $currData['fa_icon']; ?>"></i> <?php echo round(($val['base_fare']*$exchange_rate),2); ?></td>
                                                        </tr>
                                                        <tr>
                                                            <td>Per KM Price</td>
                                                            <td align="right"><i class="<?php echo $currData['fa_icon']; ?>"></i> <?php echo round(($val['per_km_price']*$exchange_rate),2); ?></td>
                                                        </tr>

                                                        <tr>
                                                            <td>Distance</td>
                                                            <td align="right"><?php echo $val['min_distance']; ?> KM</td>
                                                        </tr>

                                                        <tr>
                                                            <td>Running Amount</td>
                                                            <td align="right"><i class="<?php echo $currData['fa_icon']; ?>"></i> <?php echo round(($val['running_amt']*$exchange_rate),2); ?></td>
                                                        </tr>

                                                        <tr>
                                                            <td>Peak Time Price</td>
                                                            <td align="right"><i class="<?php echo $currData['fa_icon']; ?>"></i> <?php echo round(($val['peak_time_price']*$exchange_rate),2); ?></td>
                                                        </tr>

                                                        <tr>
                                                            <td>Night Charges</td>
                                                            <td align="right"><i class="<?php echo $currData['fa_icon']; ?>"></i> <?php echo round(($val['night_charge']*$exchange_rate),2); ?></td>
                                                        </tr>

                                                        <tr>
                                                            <td>Extras</td>
                                                            <td align="right"><i class="<?php echo $currData['fa_icon']; ?>"></i> <?php echo round(($val['extra_charge']*$exchange_rate),2); ?></td>
                                                        </tr>

                                                        <tr>
                                                            <td>Tax (<?php echo $val['tax_percentage']; ?>%)</td>
                                                            <td align="right"><i class="<?php echo $currData['fa_icon']; ?>"></i> <?php echo round(($val['tax_price']*$exchange_rate),2); ?></td>
                                                        </tr>

                                                        <?php if (isset($val['markup_base']) && $val['markup_base'] == 1) { ?>
                                                            <tr>
                                                                <td>Other (<?php echo $val['markup_value']; ?> <?php echo $val['markup_type']; ?>)</td>
                                                                <td align="right"><i class="<?php echo $currData['fa_icon']; ?>"></i> <?php echo round(($val['markup_price']*$exchange_rate),2); ?></td>
                                                            </tr>
                                                        <?php } ?>

                                                        <tr>
                                                            <td>Payable Amount</td>
                                                            <td align="right"><i class="<?php echo $currData['fa_icon']; ?>"></i> <?php echo round(($val['total_price']*$exchange_rate),2); ?></td>
                                                        </tr>

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

                                        <div class="col-sm-2 col-sm-2-select padding_margin0 margin-left20px " align="center">
                                            <div class="vehicle_name pull-left font-siz-14px"  ><i class="<?php echo $currData['fa_icon']; ?>"></i> <?php echo round(($val['total_price']*$exchange_rate),2); ?></div>
                                            <div class="col-sm-12 padding0 car_select_but <?php if ($i == 1) { echo "car_select_active";}?>">

                                                <label class="select-car">Select
                                                    <input type="radio" class="vehicle-select" <?php
                                                    if ($i == 1) {
                                                        echo 'checked="checked"';
                                                    }
                                                    ?> name="vehicleid" value="<?php echo $val['base_vehicle_id']; ?>">
                                                    <span class="checkmarkSelect"></span>
                                                </label>

                                            </div>
                                            <?php if ($dataCount > 1) { ?>
                                                <div class="vehicle_name widthpercent100 pull-left"  ><a class="btn btn-more" data-toggle="collapse" data-parent="#accordion" href="#collapse-<?php echo $i; ?>">more..</a></div>
                                            <?php } ?>
                                        </div>

                                    </div>

                                    <div class="col-sm-10 border-top-carlist"  style="margin-bottom:10px !important; background:none !important;padding:0;">
                                        <div class="mapcantiner_inner1" style="padding:0 !important;">
                                            <div class="" style="margin:0 0 10px; padding:0 0 10px;">
                                                <div class="col-md-3 margin-bot5px  overviueimg2car1 icon_fair" align="left"> <a href="<?php echo $this->url('outstation', array('action' => 'fare-rules'), array('query' => array('id' => $val['base_vehicle_id']))); ?>" data-target="#ajax-modal" data-toggle="modal" data-remote="true" data-keyboard="false" data-backdrop="static" class="cartypelink vehicle_name width120">Fare Rules</a> </div>
                                                <!--<div class="col-md-3  overviueimg2car1 icon_bagage" align="left"> <a href="<?php echo $this->url('outstation', array('action' => 'feature'), array('query' => array('type' => 'baggage', 'id' => $val['base_vehicle_id']))); ?>" data-target="#ajax-modal" data-toggle="modal" data-remote="true" data-keyboard="false" data-backdrop="static" class="cartypelink vehicle_name">Baggage</a> </div>
                                                <div class="col-md-3  overviueimg2car1 icon_seating" align="left"> <a href="<?php echo $this->url('outstation', array('action' => 'feature'), array('query' => array('type' => 'seating-capacity', 'id' => $val['base_vehicle_id']))); ?>" data-target="#ajax-modal" data-toggle="modal" data-remote="true" data-keyboard="false" data-backdrop="static" class="cartypelink vehicle_name width132">Seating Capacity</a> </div>-->
                                                <div class="col-md-3 overviueimg2car1 icon_bagage" align="left"> <a href="<?php echo $this->url('outstation', array('action' => 'feature'), array('query' => array('type' => 'meeting-point', 'id' => $val['base_vehicle_id']))); ?>" data-target="#ajax-modal" data-toggle="modal" data-remote="true" data-keyboard="false" data-backdrop="static" class="cartypelink vehicle_name">Meeting Point</a> </div>
                                                <div class="col-md-3 overviueimg2car1 icon_seating" align="left"> <a href="#" class="cartypelink vehicle_name width132">Cancellation Policy</a> </div>
                                                <div class="col-md-3  overviueimg2car1 icon_amenities" align="left"> <a href="<?php echo $this->url('outstation', array('action' => 'amenities'), array('query' => array('id' => $val['base_vehicle_id']))); ?>" data-target="#ajax-modal" data-toggle="modal" data-remote="true" data-keyboard="false" data-backdrop="static" class="cartypelink vehicle_name">Amenities</a> </div>
                                            </div>
                                        </div>
                                        <div class="clearfix"> </div>
                                    </div>

                                </div>
                                <div style="width:100%; float:left; border-top:1px dotted #ccc;" align="center"><a data-toggle="collapse" data-parent="#accordion" href="#collapse1-<?php echo $i; ?>"><img src="/images/down_arrow.png" style="width:30px; margin-top: -16px;"></a></div>

                                <div class="clearfix"> </div>
                                <div id="collapse1-<?php echo $i; ?>" class="panel-collapse collapse">
                                    <div >
                                        <div style="margin-top:20px;">
                                            <?php foreach ($data['items'] as $items) { ?>
                                                <div style="padding:0 !important;" class="mapcantiner_inner1">
                                                    <div style="margin:0 0 10px; padding:0 0 10px;" class="testimonial_box">
                                                        <div align="center" class="col-md-2 overviueimgcar"> <span class="image_box padding_margin0"> <img src="/<?php echo $val['vehicle_image']; ?>"></span> <br>
                                                            <p style="font-size:12px;"> <?php echo $val['vehicle_type']; ?> </p></div>
                                                        <div align="left" class="col-md-2 sightmargin padding_margin0">
                                                            <div class="amenities">
                                                                <ul>
                                                                    <li style="float:left; line-height:13px;  padding: 0 0 0 5px; text-align:center;"><i class="icon_pertion"></i><br>
                                                                        <br>
                                                                        <?php echo $val['seating_capacity']; ?></li>
                                                                    <li style="float:left; line-height:13px;  padding: 0 0 0 5px; text-align:center;"><i class="icon_lagguge"></i><br>
                                                                        <br>
                                                                        <?php echo $val['luggage']; ?></li>
                                                                    <li style="float:left; line-height:13px;  padding: 0 0 0 5px; text-align:center;"><i class="icon_ac"></i><br>
                                                                        <br>
                                                                        <?php echo $val['vehicle_ignition_type']; ?></li>
                                                                </ul>
                                                            </div>
                                                        </div>
                                                        <div align="left" class="col-md-31 sightmargin overviueimg2car1"> <span class="vehicle_name"><?php echo $items['pickup_city'] ?></span><br>
                                                            <span class="vehicle_name"><?php echo $items['pickup_date'] ?> <?php echo $items['pickup_time'] ?></span> </div>

                                                        <div align="left" style="line-height:" class="col-md-2 sightmargin padding_margin0"><br>
                                                            <span class="vehicle_name"><?php echo isset($items['duration']) ? $items['duration'] : ''; ?> | <?php echo $items['distance'] ?> KM</span><br>
                                                        </div>

                                                        <div align="left" class="col-md-31 sightmargin overviueimg2"> <span class="vehicle_name"><?php echo $items['drop_city'] ?></span><br>
                                                            <span class="vehicle_name"><?php echo $items['drop_date']; ?> <?php echo $items['drop_time'] ?></span> </div>
                                                    </div>
                                                </div>

                                                <div class="clearfix"> </div>
                                            <?php } ?>
                                        </div>
                                    </div>
                                </div>
                                <?php if ($dataCount > 1) { ?>

                                    <div id="collapse-<?php echo $i; ?>" class="panel-collapse collapse">
                                        <div>
                                            <div class="" >
                                                <?php
                                                unset($data1[0]);
                                                $j = 1;
                                                foreach ($data1 as $items) {
                                                    // echo "Mohit";
                                                    ?>

                                                    <div  class="carlist_box no-padding margin0 border-top-carlist">
                                                        <div align="center" class="col-md-2 border-rignt-carlisst"> <span class="image_box padding0 margin0"> <img src="/<?php echo $val['vehicle_image']; ?>"></span> <br>
                                                            <p class="font-siz-14px margin0"> <?php echo $items['vehicle_type']; ?> </p>
                                                            <!--<p class="margin0">Dzire, Etios or similar</p>-->
                                                            <div class="margin0 vehicle-type tooltip"><?php echo substr(ucwords(strtolower($items['vehicle_name']), ','), 0, 25); ?> ...
                                                                        <div class="tooltiptext">
                                                                            <table width="90%" align="center" cellspacing="5" cellpadding="5" class="white">
                                                                                <tr>
                                                                                    <td><?php echo $items['vehicle_name']; ?></td>
                                                                                </tr>
                                                                            </table>
                                                                        </div>
                                                                    </div>
                                                        </div>

                                                        <div class="col-sm-10 padding-top10px">

                                                            <div align="left" class="col-md-3 iocn-no-padding">
                                                                <div class="amenities">
                                                                    <ul>
                                                                        <li><i class="icon_pertion"></i><br>
                                                                            <br>
                                                                            <?php echo $items['seating_capacity']; ?></li>
                                                                        <li><i class="icon_lagguge"></i><br>
                                                                            <br>
                                                                            <?php echo $items['luggage']; ?></li>
                                                                        <li><i class="icon_ac"></i><br>
                                                                            <br>
                                                                            <?php echo $items['vehicle_ignition_type']; ?></li>
                                                                    </ul>
                                                                </div>
                                                            </div>

                                                            <div align="left" class="col-md-31  overviueimg2car1"> <span class="vehicle_name"><?php echo $data['items'][0]['pickup_city']; ?></span><br>
                                                                <span class="vehicle_name"><?php echo $data['items'][0]['pickup_date']; ?>/ <?php echo $data['items'][0]['pickup_time']; ?></span> </div>
                                                            <?php $lastItem = count($data['items']) - 1; ?>
                                                            <div align="left" class="col-md-31 overviueimg2"> <span class="vehicle_name"><?php echo $data['items'][$lastItem]['drop_city']; ?></span><br>
                                                                <span class="vehicle_name"><?php echo $data['items'][$lastItem]['drop_date']; ?>/ <?php echo $data['items'][$lastItem]['drop_time']; ?></span> </div>

                                                            <div align="left" class="col-md-3"> <span class="vehicle_name"><?php echo isset($data['items'][0]['duration']) ? $data['items'][0]['duration'] : ''; ?> | <?php echo $data['distance']; ?> KM</span><br>

                                                                <br>
                                                                <div id="item_3" class="pull-left pointer tooltip">
                                                                    Fare Details
                                                                    <div class="tooltiptext" title="Item 3 Description">
                                                                        <table width="90%" align="center" cellspacing="5" cellpadding="5" class="white">
                                                                            <tr>
                                                                                <td>Base Fare</td>
                                                                                <td align="right"><i class="<?php echo $currData['fa_icon']; ?>"></i> <?php echo round(($items['base_fare']*$exchange_rate),2); ?></td>
                                                                            </tr>
                                                                            <tr>
                                                                                <td>Per KM Price</td>
                                                                                <td align="right"><i class="<?php echo $currData['fa_icon']; ?>"></i> <?php echo round(($items['per_km_price']*$exchange_rate),2); ?></td>
                                                                            </tr>

                                                                            <tr>
                                                                                <td>Distance</td>
                                                                                <td align="right"><?php echo $items['min_distance']; ?> KM</td>
                                                                            </tr>

                                                                            <tr>
                                                                                <td>Running Amount</td>
                                                                                <td align="right"><i class="<?php echo $currData['fa_icon']; ?>"></i> <?php echo round(($items['running_amt']*$exchange_rate),2); ?></td>
                                                                            </tr>

                                                                            <tr>
                                                                                <td>Peak Time Price</td>
                                                                                <td align="right"><i class="<?php echo $currData['fa_icon']; ?>"></i> <?php echo round(($items['peak_time_price']*$exchange_rate),2); ?></td>
                                                                            </tr>

                                                                            <tr>
                                                                                <td>Night Charges</td>
                                                                                <td align="right"><i class="<?php echo $currData['fa_icon']; ?>"></i> <?php echo round(($items['night_charge']*$exchange_rate),2); ?></td>
                                                                            </tr>

                                                                            <tr>
                                                                                <td>Extras</td>
                                                                                <td align="right"><i class="<?php echo $currData['fa_icon']; ?>"></i> <?php echo round(($items['extra_charge']*$exchange_rate),2); ?></td>
                                                                            </tr>

                                                                            <tr>
                                                                                <td>Tax (<?php echo $items['tax_percentage']; ?>%)</td>
                                                                                <td align="right"><i class="<?php echo $currData['fa_icon']; ?>"></i> <?php echo round(($items['tax_price']*$exchange_rate),2); ?></td>
                                                                            </tr>
                                                                            <?php if (isset($items['markup_base']) && $items['markup_base'] == 1) { ?>
                                                                                <tr>
                                                                                    <td>Other (<?php echo $items['markup_value']; ?> <?php echo $items['markup_type']; ?>)</td>
                                                                                    <td align="right"><i class="<?php echo $currData['fa_icon']; ?>"></i> <?php echo round(($items['markup_price']*$exchange_rate),2); ?></td>
                                                                                </tr>
                                                                            <?php } ?>
                                                                            <tr>
                                                                                <td>Payable Amount</td>
                                                                                <td align="right"><i class="<?php echo $currData['fa_icon']; ?>"></i> <?php echo round(($items['total_price']*$exchange_rate),2); ?></td>
                                                                            </tr>

                                                                        </table>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="col-sm-2 col-sm-2-select padding_margin0 margin-left20px" align="center">

                                                                <div class="vehicle_name pull-left font-siz-14px"  ><i class="<?php echo $currData['fa_icon']; ?>"></i> <?php echo round(($items['total_price']*$exchange_rate),2); ?> </div>
                                                                <div class="col-sm-12 padding0 car_select_but">

                                                                    <label class="select-car">Select
                                                                        <input type="radio" class="vehicle-select" name="vehicleid" value="<?php echo $items['base_vehicle_id']; ?>">
                                                                        <span class="checkmarkSelect"></span>
                                                                    </label>

                                                                </div>
                                                            </div>

                                                        </div>
                                                        <!--cab-dtail-->

                                                        <div class="no-border other-services col-sm-10 no-padding pull-right border-top-carlist">
                                                            <div class="mapcantiner_inner1 no-padding">
                                                                <div class="marginbot10 padding-bot10px">
                                                                    <div class="col-md-3 overviueimg2car1 icon_fair" align="left"> <a href="<?php echo $this->url('outstation', array('action' => 'fare-rules'), array('query' => array('id' => $items['base_vehicle_id']))); ?>" data-target="#ajax-modal" data-toggle="modal" data-remote="true" data-keyboard="false" data-backdrop="static" class="cartypelink vehicle_name width120">Fare Rules</a> </div>
                                                                    <div class="col-md-3 overviueimg2car1 icon_bagage" align="left"> <a href="<?php echo $this->url('outstation', array('action' => 'feature'), array('query' => array('type' => 'meeting-point', 'id' => $items['base_vehicle_id']))); ?>" data-target="#ajax-modal" data-toggle="modal" data-remote="true" data-keyboard="false" data-backdrop="static" class="cartypelink vehicle_name">Meeting Point</a> </div>
                                                                    <div class="col-md-3 overviueimg2car1 icon_seating" align="left"> <a href="#" class="cartypelink vehicle_name width132">Cancellation Policy</a> </div>
                                                                    <div class="col-md-3 overviueimg2car1 icon_amenities" align="left"> <a href="<?php echo $this->url('outstation', array('action' => 'amenities'), array('query' => array('id' => $items['base_vehicle_id']))); ?>" data-target="#ajax-modal" data-toggle="modal" data-remote="true" data-keyboard="false" data-backdrop="static" class="cartypelink vehicle_name">Amenities</a> </div>
                                                                </div>
                                                            </div>
                                                        </div>

                                                    </div>
                                                    <div style="width:100%; float:left; border-top:1px dotted #ccc;" align="center"><a data-toggle="collapse" data-parent="#accordion" href="#collapse2-<?php echo $j; ?>"><img src="/images/down_arrow.png" style="width:30px; margin-top: -16px;"></a></div>

                                                    <div class="clearfix"> </div>

                                                    <div id="collapse2-<?php echo $i; ?>" class="panel-collapse collapse">
                                                        <div>
                                                            <div style="margin-top:20px;" >
                                                                <?php foreach ($data['items'] as $items) { ?>
                                                                    <div style="padding:0 !important;" class="mapcantiner_inner1">
                                                                        <div style="margin:0 0 10px; padding:0 0 10px;" class="testimonial_box">
                                                                            <div align="center" class="col-md-2 overviueimgcar"> <span class="image_box padding_margin0"> <img src="/<?php echo $val['vehicle_image']; ?>"></span> <br>
                                                                                <p style="font-size:12px;"> <?php echo $val['vehicle_type']; ?> </p></div>
                                                                            <div align="left" class="col-md-2 sightmargin padding_margin0">
                                                                                <div class="amenities">
                                                                                    <ul>
                                                                                        <li style="float:left; line-height:13px;  padding: 0 0 0 5px; text-align:center;"><i class="icon_pertion"></i><br>
                                                                                            <br>
                                                                                            <?php echo $val['seating_capacity']; ?></li>
                                                                                        <li style="float:left; line-height:13px;  padding: 0 0 0 5px; text-align:center;"><i class="icon_lagguge"></i><br>
                                                                                            <br>
                                                                                            <?php echo $val['luggage']; ?></li>
                                                                                        <li style="float:left; line-height:13px;  padding: 0 0 0 5px; text-align:center;"><i class="icon_ac"></i><br>
                                                                                            <br>
                                                                                            <?php echo $val['vehicle_ignition_type']; ?></li>
                                                                                    </ul>
                                                                                </div>
                                                                            </div>
                                                                            <div align="left" class="col-md-31 sightmargin overviueimg2car1"> <span class="vehicle_name"><?php echo $items['pickup_city'] ?></span><br>
                                                                                <span class="vehicle_name"><?php echo $items['pickup_date'] ?> <?php echo $items['pickup_time'] ?></span> </div>

                                                                            <div align="left" style="line-height:" class="col-md-2 sightmargin padding_margin0"><br>
                                                                                <span class="vehicle_name"><?php echo isset($items['duration']) ? $items['duration'] : ''; ?> | <?php echo $items['distance'] ?> KM</span><br>
                                                                            </div>

                                                                            <div align="left" class="col-md-31 sightmargin overviueimg2"> <span class="vehicle_name"><?php echo $items['drop_city'] ?></span><br>
                                                                                <span class="vehicle_name"><?php echo $items['drop_date']; ?> <?php echo $items['drop_time'] ?></span> </div>
                                                                        </div>
                                                                    </div>

                                                                    <div class="clearfix"> </div>
                                                                <?php } ?>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <?php
                                                    $j++;
                                                }
                                                ?>
                                            </div>
                                        </div>
                                    </div>
        <?php } ?>
                            </div>
                        </div>
                    </h4>
                </div>
            </div>
        </div>
        <?php
        $i++;
    }
} else {
    ?>
    No Record Found
<?php } ?>

    </div>

    <div id="accordion-guest" class="panel-group"></div>
    <!--ACCORDIAN END-->
</div>
<!-- one-way-payment-right.phtml file will include here -->
<div class="col-md-2 banner-bottom-grid widthpercent20 pull-right">
    <div class="top-destinations-grids margin0">

        <?php
$session = new \Zend\Session\Container('userlogin');
$user_id = $session->userData['user_id'];
$dataArray  =   current($vehicleList);
$vehicleList[0] = $dataArray[0];
?>
<div class="top-destinations-grids margintop0"><!-- /.modify search left start -->
    <div class="top-destinations-bottom padding_margin0">
        <div class="td-grids">
            <div class="summary">
                <div class="left-div-form border_bottom pointer">
                    <h4><a data-parent="#accordion" id="adoon_but" href="#trip" onClick="javascript:toggletripdetails('1', 'btnBack');">Trip Details</a></h4>
                </div>
            </div>
            <div class="clearfix"> </div>
        </div>
    </div>
</div>

<div class="td-grids">
    <div class="top-destinations-bottom padding_margin0">
        <div class="td-grids">
            <div class="left-div-form border_bottom">
                <h4>Payment Detail</h4>
            </div>
                <form id="payment-detail-form">
                                <div class="infopay">
                        <div class="left-div-form">
                            <div class="title">Base Fare</div>
                            <div class="price">
                                <span class=""><i class="<?php echo $currData['fa_icon']; ?>"></i> </span><span class="base-fare"><?php if(isset($vehicleList[0]['base_fare'])!=''){echo round(($vehicleList[0]['base_fare']*$exchange_rate),2);}?></span>
                                <input type="hidden" name="base_fare" id="base-fare" value="<?php if(isset($vehicleList[0]['base_fare'])!=''){echo round(($vehicleList[0]['base_fare']*$exchange_rate),2);}?>">
                            </div>
                        </div>
                        <div class="left-div-form">
                            <div class="title">Per Km Price</div>
                            <div class="price"><span class="WebRupee"><i class="<?php echo $currData['fa_icon']; ?>"></i> </span><span class="per-km-price"><?php if(isset($vehicleList[0]['per_km_price'])!=''){echo round(($vehicleList[0]['per_km_price']*$exchange_rate),2);}?></span></div>
                            <input type="hidden" name="per_km_price" id="per-km-price" value="<?php if(isset($vehicleList[0]['per_km_price'])!=''){echo round(($vehicleList[0]['per_km_price']*$exchange_rate),2);}?>">
                        </div>
                        <div class="left-div-form">
                            <div class="title">Distance</div>
                            <div class="price"><span class="min-distance"> <?php if(isset($vehicleList[0]['min_distance'])!=''){echo $vehicleList[0]['min_distance'];}?>Km</span></div>
                            <input type="hidden" name="min_distance" id="min-distance" value="<?php if(isset($vehicleList[0]['min_distance'])!=''){echo $vehicleList[0]['min_distance'];}?>">
                        </div>
                        <div class="clear"></div>
                        <div class="left-div-form">
                            <div class="title red_text" title="Only for booking amount">Running Amount</div>
                            <div class="price red_text" title="Only for booking amount"><span class="WebRupee"><i class="<?php echo $currData['fa_icon']; ?>"></i></span><span class="running-amt"><?php if(isset($vehicleList[0]['running_amt'])!=''){echo round(($vehicleList[0]['running_amt']*$exchange_rate),2);}?> </span> </div>
                            <input type="hidden" name="running_amt" id="running-amt" value="<?php if(isset($vehicleList[0]['running_amt'])!=''){echo round(($vehicleList[0]['running_amt']*$exchange_rate),2);}?>">
                        </div>
                        <div class="left-div-form">
                            <div class="title">Peak Time Price</div>
                            <div class="price"><span class="WebRupee"><i class="<?php echo $currData['fa_icon']; ?>"></i> </span><span class="peak-time-price"><?php if(isset($vehicleList[0]['peak_time_price'])!=''){echo round(($vehicleList[0]['peak_time_price']*$exchange_rate),2);}?></span></div>
                            <input type="hidden" name="peak_time_price" id="peak-time-price" value="<?php if(isset($vehicleList[0]['peak_time_price'])!=''){echo round(($vehicleList[0]['peak_time_price']*$exchange_rate),2);}?>">
                        </div>

                        <div class="left-div-form">
                            <div class="title">Night Charges</div>
                            <div class="price"><span class="WebRupee"><i class="<?php echo $currData['fa_icon']; ?>"></i> </span><span class="night-charge"><?php if(isset($vehicleList[0]['night_charge'])!=''){echo round(($vehicleList[0]['night_charge']*$exchange_rate),2);}?></span></div>
                            <input type="hidden" name="night_charge" id="night-charge" value="<?php if(isset($vehicleList[0]['night_charge'])!=''){echo round(($vehicleList[0]['night_charge']*$exchange_rate),2);}?>">
                        </div>

                        <div class="left-div-form">
                            <div class="title">Extras</div>
                            <div class="price"><span class="WebRupee"><i class="<?php echo $currData['fa_icon']; ?>"></i> </span><span class="extra-charge"><?php if(isset($vehicleList[0]['extra_charge'])!=''){echo round(($vehicleList[0]['extra_charge']*$exchange_rate),2);}?></span></div>
                            <input type="hidden" name="extra_charge" id="extra-charge" value="<?php if(isset($vehicleList[0]['extra_charge'])!=''){echo round(($vehicleList[0]['extra_charge']*$exchange_rate),2);}?>">
                        </div>

                        <div class="left-div-form">
                            <div class="title">Tax (<span id="st_text" class="tax-percentage"><?php if(isset($vehicleList[0]['tax_percentage'])!=''){echo $vehicleList[0]['tax_percentage'];}?></span>%)</div>
                            <div class="price"><i class="<?php echo $currData['fa_icon']; ?>"></i> <span class="tax-price"><?php if(isset($vehicleList[0]['tax_price'])!=''){echo round(($vehicleList[0]['tax_price']*$exchange_rate),2);}?></span> </div>
                            <input type="hidden" name="tax_percentage" id="tax-percentage" value="<?php if(isset($vehicleList[0]['tax_percentage'])!=''){echo $vehicleList[0]['tax_percentage'];}?>">
                            <input type="hidden" name="tax_price" id="tax-price" value="<?php if(isset($vehicleList[0]['tax_price'])!=''){echo round(($vehicleList[0]['tax_price']*$exchange_rate),2);}?>">
                        </div>

                        <?php if(isset($vehicleList[0]['markup_base']) && $vehicleList[0]['markup_base']==1) { ?>
                        <div class="left-div-form">
                            <div class="title">Other Charge (<span id="st_text" class="markup-value"><?php echo $vehicleList[0]['markup_value']; ?></span> <span class="markup-type"><?php echo $vehicleList[0]['markup_type']; ?></span>)</div>
                            <div class="price"><i class="<?php echo $currData['fa_icon']; ?>"></i> <span class="markup-price"><?php echo round(($vehicleList[0]['markup_price']*$exchange_rate),2); ?></span> </div>
                            <input type="hidden" name="markup_type" id="markup-type" value="<?php echo $vehicleList[0]['markup_type']; ?>">
                            <input type="hidden" name="markup_value" id="markup-value" value="<?php echo $vehicleList[0]['markup_value']; ?>">
                            <input type="hidden" name="markup_price" id="markup-price" value="<?php echo round(($vehicleList[0]['markup_price']*$exchange_rate),2); ?>">
                            <input type="hidden" name="markup_base" id="markup-base" value="<?php echo $vehicleList[0]['markup_base']; ?>">
                        </div>
                        <?php }?>
                        <div class="clear"></div>
                        <div class="left-div-form">
                            <div class="title">Payable Amount</div>
                            <div class="price"> <i class="<?php echo $currData['fa_icon']; ?>"></i> <span class="total-price"><?php if(isset($vehicleList[0]['total_price'])!=''){echo round(($vehicleList[0]['total_price']*$exchange_rate),2);}?></span><span id="usdvalue"></span> </div>
                            <input type="hidden" name="total_price" id="total-price" value="<?php if(isset($vehicleList[0]['total_price'])!=''){echo round(($vehicleList[0]['total_price']*$exchange_rate),2);}?>">
                        </div>
                        <div class="left-div-form coupon-code-div">
                            <div class="radio-inline specs padding-left0 widthpercent100">
                                <div class="radioWrap">
                                    <input type="text" name="coupon_code" placeholder="Coupan Code" class="height34px" id="coupon-code">
                                    <input type="hidden" name="coupon_code_id" id="coupon-code-id">
                                    <div class="coupon-code-msg"></div>
                                </div>
                                <div class="pull-right">
                                    <div id="apply_coupancode" class="pull-right padding0"><a class="apply-coupon"> Apply</a></div>
                                </div>
                                <div id="coupan_disount"></div>
                                <small id="booklater_conditions_local"></small>
                            </div>
                        </div>
                        <div class="left-div-form coupon-discount-div" style="display: none;">
                            <div class="title"><span class="WebRupee"><b>Coupon Applied</b></span></div>
                            <div class="price"><a class="remove-coupon" style="cursor: pointer;"> Remove</a></div>
                            <div class="title"><span class="WebRupee"><b>Coupon Discount</b></span></div>
                            <div class="price"><span class="WebRupee"><span class="WebRupee"> <i class="<?php echo $currData['fa_icon']; ?>"></i> </span></span><span class="total-discount">0</span></div>
                            <input type="hidden" name="total_discount" id="total-discount" value="0">
                        </div>
                        <div class="left-div-form">
                            <div class="title"><span class="WebRupee"><b>Total Charge</b></span></div>
                            <div class="price"><span class="WebRupee"><span class="WebRupee"> <i class="<?php echo $currData['fa_icon']; ?>"></i> </span></span><span class="total-charge"><?php if(isset($vehicleList[0]['total_price'])!=''){echo round(($vehicleList[0]['total_price']*$exchange_rate),2);}?></span></div>
                            <input type="hidden" name="total_charge" id="total-charge" value="<?php if(isset($vehicleList[0]['total_price'])!=''){echo round(($vehicleList[0]['total_price']*$exchange_rate),2);}?>">
                            <input type="hidden" name="currency_type" id="currency-type" value="<?php echo $currData['id'];?>">
                        </div>
                        <div class="left-div-form">

                            <div id="accordion_login" class="title widthpercent100">
                                <?php if(empty($user_id)){ ?>
                                <div class="overviueimg31"><a class="guestlogin" id="asguest">As a Guest</a></div>
                                <div class="overviueimg32">or</div>
                                <div class="overviueimg31"><a href="<?php echo $this->url('login'); ?>" data-target="#ajax-modal" data-toggle="modal" data-remote="true" data-keyboard="false" data-backdrop="static" class="aslogin">As login</a></div>
                                <div></div>
                                <?php }else { ?>
                                <input type="hidden" id="continue-submit" action="<?php echo $this->url('outstation', ['action' => 'continue-submit']);?>">
                                <div class="overviueimg31"><a href="#" class="aslogin continue-submit">Continue</a></div>
                                <?php
                                }?>
                            </div>


                        </div>
                        <div class="left-div-form">
                            <div class="title widthpercent100">
                                <div></div>
                            </div>
                            <div class="title widthpercent100 margin-top-5" align="center">
                                <div>
                                </div>
                            </div>
                        </div>
                    </div>
                </form>
            <div class="clearfix"> </div>
        </div>
    </div>
</div>




    </div>
</div>