<?php if(is_array($vehicleTariff)){ ?>
<section id="recent-works" class="padding12top padding5topbot"><!--/.booking tariff start -->
    <div class="container">
        <div class="left wow fadeInDown">
            <h3  class="localfarebgorange2"><strong><?php echo $this->translate('Local Hire ( '.$city_name.' )'); ?></strong> </h3>
        </div>
        <div class="row">
            <div class="col-md-12 table-responsive padding0x10px">
                <table class="table table-hover table-striped tablecen" id="bootstrap-table"  class="tarif-border">


                    <?php foreach ($vehicleTariff as $val1) { ?>
                        <tr>
                            <th class="border-left" align="center" ><?php echo $this->translate('Car Type'); ?></th>
                            <th align="center" colspan="3">&nbsp;</th>
                        </tr>

                        <tr>
                            <td  width="10%"   height="30" align="center" valign="top" class="tarif-border"><?php echo $val1['vehicle_type']; ?> <br>
                                <img alt="" class="localimg" src="/<?php echo $val1['vehicle_image']; ?>">
                            </td>


                            <td colspan="5">

                                <table class="table table-hover table-striped tablecen">
                                    <tr>

                                        <th align="center"><?php echo $this->translate('Packages'); ?></th>
                                        <th align="center"><?php echo $this->translate('Price'); ?></th>
                                        <th align="center"><?php echo $this->translate('Extra/KM'); ?></th>
                                        <th align="center"><?php echo $this->translate('Extra/hour'); ?></th>
                                        <th align="center">Action</th>
                                    </tr>
                                    <?php foreach ($vehiclePackages as $val) { ?>
                                        <tr>
                                            <td align="center"><span  class="loce1 colorblck"><?php echo $val['package_name']; ?></span> </td>
                                            <td align="center"><i class="fa fa-inr"></i> <span  class="loce2 colorblck">  <?php echo $val['price']; ?></span></td>
                                            <td align="center"><i class="fa fa-inr"></i> <span  class="loce3 colorblck" ><?php echo $val['extra_km']; ?> </span></td>
                                            <td align="center"><i class="fa fa-inr"></i> <span  class="loce4 colorblck"><?php echo $val['extra_hr']; ?> </span></td>
                                            <td class="padding1px" align="center">
                                                <button class="btn tariff-link" type="button" value="<?php echo $val['local_package_id']; ?>" rel="<?php echo $val1['vehicle_type_id'];?>">Book</button>
                                            </td>
                                        </tr>
                                    <?php } ?>
                                </table>

                            </td>

                        </tr>
                    <?php } ?>
                </table>
            </div>

        </div>
    </div>
</section><!--/.booking tariff end -->
<?php }?>