<?php //echo '<pre>';print_r($localPackageData);//die();  ?>
<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">
                            <div class="panel panel-default" id="fare_add">
                                <div class="panel-headingnew"> Edit Local Package Fare </div>

                                <div id="faq-1-1" class="panel-collapse collapse in" aria-expanded="true">
                                    <div class="panel-body">

                                        <div class="tab-content" id="myTabContent">
                                            <div id="home" class="tab-pane fade active in">
                                                <div class="col-sm-col-sm-offset-1 margin-10auto0 paddingRL10px">
                                                     <?php
                                                        $form = $this->form;
                                                        $form->prepare();
                                                        $form->setAttribute('action', $this->url('cabfare', ['action' => 'edit-package-fare']));
                                                        $form->setAttribute('method', 'post');
                                                        echo $this->form()->openTag($form);
                                                        echo $this->formHidden($form->get('id'));
                                                    ?>
                                                    <div class="row">
                                                        <div class="col-sm-10">


                                                            <div class="form-group clearfix margintopbottom20">

                                                                <label class="col-sm-3 control-label labelalign col-sm-3-new" id="point_airport"><?php echo $this->translate($this->formLabel($form->get('booking_mode_type'))); ?></label>
                                                                <div class="col-sm-3 col-sm-4-new">

                                                                    <?php echo $localPackageData['booking_mode']; ?>

                                                                </div>
                                                            </div>


                                                            <div class="form-group clearfix margintopbottom20">

                                                                <label class="col-sm-3 control-label labelalign col-sm-3-new" id="point_airport"><?php echo $this->translate($this->formLabel($form->get('booking_type'))); ?></label>
                                                                <div class="col-sm-3 col-sm-4-new">

                                                                    <?php echo $this->FormElement($form->get('booking_type')); ?>
                                                                    <?php echo $this->formElementErrors($form->get('booking_type'), ['class' => 'error']); ?>

                                                                </div>
                                                            </div>



                                                         <hr>
                            <div class="row">
                                <div class="col-sm-2">
                                    <label><?php echo $this->translate($form->get('distance_package_name')->getLabel()); ?></label>
                                </div>
                                <?php if(($localPackageData['package_type_mode']!=1) || ($localPackageData['package_type_mode']!= 4)) { ?>
                                <div class="col-sm-2"> 
                                    <label><?php echo $this->translate($form->get('distance_ignore_hr')->getLabel()); ?></label>
                                </div>
                                <?php }?>
                                <?php if($localPackageData['package_type_mode']!=2) { ?>
                                <div class="col-sm-2">
                                    <label><?php echo $this->translate($form->get('distance_ignore_km')->getLabel()); ?></label>
                                </div>
                                <?php }?>
                                <div class="col-sm-2 margin-left15"></div>
                                <div class="col-sm-3">&nbsp;</div>
                            </div>

                            <div id="local_package_row" class="local_package_row cloned-row">
                                <div class="row margin-bttom10px" >
                                    <div class="col-sm-2"><?php echo $this->formElement($form->get('distance_package_name')); ?></div>
                                    <?php if(($localPackageData['package_type_mode']!=1) || ($localPackageData['package_type_mode']!=4)) { ?>
                                    <div class="col-sm-2"><?php echo $this->formElement($form->get('distance_ignore_hr')); ?></div>
                                    <?php }?>
                                    <?php if($localPackageData['package_type_mode']!=2) { ?>
                                    <div class="col-sm-2"><?php echo $this->formElement($form->get('distance_ignore_km')); ?></div>
                                    <?php }?>
                                </div>
                            </div>

                            <div id="appended_text_form"></div>


                            </div>

                            <div class="col-sm-11" align="right">
                                <?php echo $this->formElement($form->get('save')); ?>
                            </div>
                                                    </div>

                                                     <?php echo $this->form()->closeTag(); ?>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>

