<!-- Content Header (Page header) -->
<section class="content-header">
    <ol class="breadcrumb">
        <li><a href="#"><i class="fa fa-home"></i>Home</a></li>
        <li class="active"><a href="index.html">Dashboard</a></li>
        <li class="active">Fare Management</li>
    </ol>
</section>
<?php
$fareId = $this->fareId;
$bookingMode = $this->bookingMode;
$disableDiv = 'div-disabled';
    if($fareId!=''){
        $disableDiv='';
    }


$distance_div='hide';
$hour_div='hide';
$distance_hour_div='hide';
$distance_waiting_div='hide';
$activebasefare='';
if($bookingMode!='' && $bookingMode==1){
    $distance_div = 'active';
    $activebasefare = '';
}else if($bookingMode!='' && $bookingMode==2){
    $hour_div = 'active';
    $activebasefare = '';
}else if($bookingMode!='' && $bookingMode==3){
     $distance_hour_div = 'active';
     $activebasefare = '';
}else if($bookingMode!='' && $bookingMode==4){
    $distance_waiting_div = 'active';
    $activebasefare = '';
}else{
    $activebasefare = 'active';
}

?>

<!-- Main content -->
<section class="content">
    <div class="row">
        <div class="col-sm-12">
            <div class="tabbable">
                <div class="tab-content no-border padding-24">
                    <div class="tab-pane fade in active" id="faq-tab-1">
                        <div class="space-8"></div>
                        <div class="panel-group accordion-style1 accordion-style2" id="faq-list-1">

                            <?php  echo $this->partial('add-fare-form.phtml'); ?>
<!--div-disabled-->
                            <div class="col-sm-12 panel panel-default margintop20 marginbottom20 <?php echo $disableDiv;?>" id="fare_form">

                                <!-- Modal content-->

                                <?php //echo $this->partial('add-price-common.phtml'); ?>

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

                                    <?php echo $this->partial('cab-fare-sidebar.phtml'); ?>

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

                                        <div id="userTabContent" class="tab-content tab_editprofile1 min-hieght410px">
                                            <div id="displayMsg"></div>
                                            <!-- Tab for Distance Starts Here-->
                                            <div class="tab-pane fade  in <?php echo $distance_div; ?>" id="distanceVehicle">
                                                <?php  echo $this->partial('add-price-distance.phtml'); ?>
                                            </div>

                                            <!-- Tab for Distance Ends Here-->

                                            <!-- Tab for Hour Starts Here-->

                                            <div class="tab-pane fade in <?php echo $hour_div; ?>" id="HourVehicle">
                                                <?php  echo $this->partial('add-price-hour.phtml'); ?>
                                            </div>
                                            <!-- Tab for Hour Ends Here-->

                                            <!-- Tab for Distance+Hour Starts Here-->

                                            <div class="tab-pane fade  in <?php echo $distance_hour_div; ?>" id="Distance_Hour">
                                                <?php echo $this->partial('add-price-distance-hour.phtml'); ?>
                                            </div>

                                            <!-- Tab for Distance+Hour Ends Here-->


                                            <!-- Tab for Distance+Waiting Starts Here-->

                                            <div class="tab-pane fade  in <?php echo $distance_waiting_div; ?>" id="Distance_Waiting">
                                                <?php echo $this->partial('add-price-distance-waiting.phtml'); ?>
                                            </div>

                                            <!-- Tab for Distance+Waiting Ends Here-->

                                            <!-- Tab for Basic Starts Here-->

                                            <div class="tab-pane fade in <?php echo $activebasefare; ?>" id="basicVehicle">
                                               <?php echo $this->partial('add-price-basic-fare.phtml'); ?>
                                            </div>

                                            <!-- Tab for Basic Ends Here-->

                                            <!-- Tab for Basic Starts Here-->

                                            <div class="tab-pane fade" id="waitingVehicle">
                                              <?php echo $this->partial('add-fees-fare.phtml'); ?>
                                            </div>

                                            <!-- Tab for Basic Ends Here-->

                                            <!-- Tab for Premium Starts Here-->
                                            <div class="tab-pane fade in" id="PremiumVehicle">
                                                 <?php echo $this->partial('add-price-premium.phtml'); ?>
                                            </div>

                                            <!-- Tab for Premium Ends Here-->

                                            <!-- Tab for Fixed Routes Starts Here-->

                                            <div class="tab-pane fade in" id="Fixed_RoutesVehicle">
                                                <?php echo $this->partial('add-price-fixed-routes.phtml'); ?>
                                            </div>

                                            <!-- Tab for Fixed Routes Ends Here-->

                                            <!-- Tab for Share Starts Here-->

                                            <div class="tab-pane fade" id="Different_Shares">
                                                <?php echo $this->partial('add-price-share.phtml'); ?>
                                            </div>

                                        </div>

                                    </div>

                                </div>


                            </div>

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

            <!-- /.widget-box -->
        </div>
        <!-- /.col -->
    </div>

    <!-- /.row -->
    <!-- Main row -->
</section>
<!-- /.content -->
