<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"> Add 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' => 'local-package-fare']));
                                                        $form->setAttribute('method', 'post');
                                                        echo $this->form()->openTag($form);
                                                    ?>
                                                    <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 $this->FormElement($form->get('booking_mode_type')); ?>
                                                                    <?php echo $this->formElementErrors($form->get('booking_mode_type'), ['class' => 'error']); ?>

                                                                </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>
                                
                                <div class="col-sm-2 distance_ignore_hr">
                                    <label><?php echo $this->translate($form->get('distance_ignore_hr[]')->getLabel()); ?></label>
                                </div>
                                <div class="col-sm-2 distance_ignore_km">
                                    <label><?php echo $this->translate($form->get('distance_ignore_km[]')->getLabel()); ?></label>
                                </div>
                                <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>
                                     <div class="col-sm-2 distance_ignore_hr"><?php echo $this->formElement($form->get('distance_ignore_hr[]')); ?></div>
                                    <div class="col-sm-2 distance_ignore_km"><?php echo $this->formElement($form->get('distance_ignore_km[]')); ?></div>
                                   

                                  <div class="col-sm-2 local-pkg-more-btn" id="add_2">
                                       <a href="#" class="btn btn-info form-control">Add More</a>
                                  </div>
                                </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 class="tool-bar margin-bottom margintopnew20">
                                <div class="btn-groups" align="right">
                                   
                                    <a class="publish_all btn btn-success "  rel="publish" onclick="changeStatus('publish', 'cabfare', 'local-package-status')">
                                        <i class="fa fa-check-circle"></i>
                                        Publish
                                    </a>
                             <a class="publish_all btn btn-unapublish"  rel="unpublish" onclick="changeStatus('unpublish', 'cabfare', 'local-package-status')">
                                        <i class="fa fa-times-circle"></i>
                                        Unpublish
                                    </a>
                                    <a class="delete_all btn btn-danger btn-new-vender" rel="muldelete" onclick="changeStatus('muldelete', 'cabfare', 'local-package-status')">
                                        <i class="fa fa-trash-o"></i>
                                        Delete
                                    </a>
                                </div>
                            </div>
                            <span class="checkbox_error"></span>
                            <div class="panel panel-default">
                                <div class="panel-headingnew"> View/Update Records </div>
                                <div id="faq-1-3" class="panel-collapse collapse in" aria-expanded="false" >
                                    <div class="box">
                                        <!-- /.box-header -->
                                        <div class="box-body table-responsive listing-data" >
                                             <?php echo $this->partial('view-local-pkg.phtml'); ?>
                                        </div>
                                        <!-- /.box-body -->
                                    </div>
                                </div>
                            </div>
                            
                            
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>

