<section class="content-header">
    <ol class="breadcrumb">
        <li><a href="#"><i class="fa fa-home"></i>Home</a></li>
        <li class="active"><a href="#">Dashboard</a></li>
        <li class="active">Add Package</li>
    </ol>
</section>

<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">
                                <div class="panel-headingnew">
                                    <?php echo $this->translate('Add Tour Availability and Other'); ?>
                                </div>
                                <div class="left_panel col-sm-12 padding_margin0 pull-left bgwhite">

                        <?php
                        $form = $this->form;
                        $form->prepare();
                        $form->setAttribute('action', $this->url('tour-package', ['action' => 'tour-availability-others']));
                        $form->setAttribute('method', 'post');
                        echo $this->form()->openTag($form);
                        ?> 
                                    <div class="col-sm-12  " align="right">
                                        <div class="tool-bar margin">
                                            <div style="text-align: right" class="col-md-8 pull-right">
                                                <a href="<?php echo $this->url('tour-package', array('action' => 'index')); ?>" id="system_restore" class="btn btn-danger"><i class="fa fa-backward"></i><?php echo $this->translate('Back'); ?> </a>
                                                <a href="#" class="reset_btn btn btn-success"><i class="fa fa-retweet"></i><?php echo $this->translate('Reset'); ?> </a>
                                                <a href="#" ><i class="fa fa-save"></i><?php echo $this->FormElement($form->get('submit')); ?></a></div>
                                        </div>       
                                    </div>

                                    <?php echo $this->partial('package-menu.phtml'); ?>
                                    <div class="tab-content tab_editprofile col-sm-10 padding-left0 marginbott10px margintop10px">
                                        <div id="common-tab" class="tab-pane fade in tab_editprofile tab_editprofile1 active">



                                            <!--<div id="menu_others" class="tab-pane fade tab_editprofile1">-->
                                            <div class="col-sm-col-sm-offset-1 margin-10auto0 paddingRL10px">
                                                <div class="row">

                                                    <div class="col-sm-12" id="tabstrip-left-5" role="tabpanel" aria-expanded="true">
                                                        <fieldset class="">
                                                            <legend>Information of Availabilities</legend>
                                                            
    <div class="form-group clearfix margintopbottom20">
    <label class="col-sm-3 col-xs-12 control-label" for="tour_id">
    <?php echo $this->translate($this->formLabel($form->get('tour_id'))); ?>
    </label>
    <div class="col-sm-4 col-xs-10">

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

    </div>

            <div class="form-group clearfix margintopbottom20">
                <label class="col-sm-3 col-xs-12 control-label" for="tours_package_available_from">
                    <?php echo $this->translate($this->formLabel($form->get('tours_package_available_from'))); ?>
                </label>

                <div class="col-sm-3 col-xs-10">
                    <?php echo $this->FormElement($form->get('tours_package_available_from')); ?>
                    <?php echo $this->formElementErrors($form->get('tours_package_available_from'), ['class' => 'error']); ?>
                </div>

                <label class="col-sm-3 col-xs-12 control-label" for="tours_package_expire_date">
                     <?php echo $this->translate($this->formLabel($form->get('tours_package_expire_date'))); ?>
                </label>
                
                <div class="col-sm-3 col-xs-10">
                    <?php echo $this->FormElement($form->get('tours_package_expire_date')); ?>
                    <?php echo $this->formElementErrors($form->get('tours_package_expire_date'), ['class' => 'error']); ?>
                </div>

            </div>

                                                            <legend>Other Information</legend>

<div class="form-group clearfix margintopbottom20">
    <label class="col-sm-2 col-xs-12 control-label" for="watermark_enabled">
        <?php echo $this->translate($this->formLabel($form->get('google_map'))); ?>
    </label>
    <div class="col-sm-10 col-xs-10">
        <?php echo $this->FormElement($form->get('google_map')); ?>
        <?php echo $this->formElementErrors($form->get('google_map'), ['class' => 'error']); ?>
    </div>

</div>

<div class="form-group clearfix margintopbottom20">
  <label class="col-sm-2 col-xs-12 control-label" for="tour_highlights">
      <?php echo $this->translate($this->formLabel($form->get('tour_highlights'))); ?>
  </label>
    <div class="col-sm-10 col-xs-10">
        <?php echo $this->FormElement($form->get('tour_highlights')); ?>
        <?php echo $this->formElementErrors($form->get('tour_highlights'), ['class' => 'error']); ?>
    </div>
</div>

<div class="form-group clearfix margintopbottom20">
        <label class="col-sm-2 col-xs-12 control-label" for="availability_country">
            <?php echo $this->translate($this->formLabel($form->get('availability_country'))); ?>
        </label>
        <div class="col-sm-4 col-xs-10">

            <?php echo $this->FormElement($form->get('availability_country')); ?>
            <?php echo $this->formElementErrors($form->get('availability_country'), ['class' => 'error']); ?>
        </div>
        <label class="col-sm-2 col-xs-12 control-label" for="available_city">
        <?php echo $this->translate($this->formLabel($form->get('available_city'))); ?>
        </label>
        <div class="col-sm-4 col-xs-10">

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

        </div>

 </div>

        <div class="form-group clearfix margintopbottom20">
            <label class="col-sm-2 col-xs-12 control-label" for="payment_structure_id">
            <?php echo $this->translate($this->formLabel($form->get('payment_structure_id'))); ?>
        </label>
        <div class="col-sm-4 col-xs-10">

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

        </div>

    <div class="form-group clearfix margintopbottom20">
        <label class="col-sm-2 col-xs-12 control-label" for="watermark_enabled">
            <?php echo $this->translate($this->formLabel($form->get('payment_structure_content'))); ?>
        </label>
        <div class="col-sm-10 col-xs-10">
            <?php echo $this->FormElement($form->get('payment_structure_content')); ?>
            <?php echo $this->formElementErrors($form->get('payment_structure_content'), ['class' => 'error']); ?>
        </div>
    </div>

                    <div class="form-group clearfix margintopbottom20">
            <label class="col-sm-2 col-xs-12 control-label" for="document_id">
            <?php echo $this->translate($this->formLabel($form->get('document_id'))); ?>
        </label>
        <div class="col-sm-4 col-xs-10">

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

                    </div>
                                                            
    <div class="form-group clearfix margintopbottom20">
    <label class="col-sm-2 col-xs-12 control-label" for="documentation_content">
    <?php echo $this->translate($this->formLabel($form->get('documentation_content'))); ?>
    </label>
    <div class="col-sm-10 col-xs-10">
    <?php echo $this->FormElement($form->get('documentation_content')); ?>
    <?php echo $this->formElementErrors($form->get('documentation_content'), ['class' => 'error']); ?>
    </div>
    </div>

                                                         


         <div class="form-group clearfix margintopbottom20">
            <label class="col-sm-2 col-xs-12 control-label" for="cancellation_policy">
            <?php echo $this->translate($this->formLabel($form->get('cancellation_policy'))); ?>
        </label>
        <div class="col-sm-4 col-xs-10">

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

                    </div>
                                                            
    <div class="form-group clearfix margintopbottom20">
<label class="col-sm-2 col-xs-12 control-label" for="cancellation_policy_content">
<?php echo $this->translate($this->formLabel($form->get('cancellation_policy_content'))); ?>
</label>
<div class="col-sm-10 col-xs-10">
<?php echo $this->FormElement($form->get('cancellation_policy_content')); ?>
<?php echo $this->formElementErrors($form->get('cancellation_policy_content'), ['class' => 'error']); ?>
</div>
</div>

                                                   

         <div class="form-group clearfix margintopbottom20">
            <label class="col-sm-2 col-xs-12 control-label" for="refund_policy">
            <?php echo $this->translate($this->formLabel($form->get('refund_policy'))); ?>
        </label>
        <div class="col-sm-4 col-xs-10">

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

                    </div>
                                                            
<div class="form-group clearfix margintopbottom20">
<label class="col-sm-2 col-xs-12 control-label" for="refund_policy_content">
<?php echo $this->translate($this->formLabel($form->get('refund_policy_content'))); ?>
</label>
<div class="col-sm-10 col-xs-10">
<?php echo $this->FormElement($form->get('refund_policy_content')); ?>
<?php echo $this->formElementErrors($form->get('refund_policy_content'), ['class' => 'error']); ?>
</div>
</div>

                                                            
                                                            
    <div class="form-group clearfix margintopbottom20">
    <label class="col-sm-2 col-xs-12 control-label" for="term_policy">
    <?php echo $this->translate($this->formLabel($form->get('term_policy'))); ?>
    </label>
    <div class="col-sm-4 col-xs-10">

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

    </div>

                                                        
<div class="form-group clearfix margintopbottom20">
<label class="col-sm-2 col-xs-12 control-label" for="term_policy_content">
<?php echo $this->translate($this->formLabel($form->get('term_policy_content'))); ?>
</label>
<div class="col-sm-10 col-xs-10">
<?php echo $this->FormElement($form->get('term_policy_content')); ?>
<?php echo $this->formElementErrors($form->get('term_policy_content'), ['class' => 'error']); ?>
</div>
</div>
                                                      


                                                        </fieldset>


                                                    </div>

                                                </div>
                                            </div>

                                            <!--- Tour availability Others End--->

                                        </div>
                                    </div>
                                    <div class="col-sm-12  " align="right">
                                        <div class="tool-bar margin">
                                            <div style="text-align: right" class="col-md-8 pull-right">
                                                <a href="<?php echo $this->url('tour-package', array('action' => 'index')); ?>" id="system_restore" class="btn btn-danger"><i class="fa fa-backward"></i><?php echo $this->translate('Back'); ?> </a>
                                                <a href="#" class="reset_btn btn btn-success"><i class="fa fa-retweet"></i><?php echo $this->translate('Reset'); ?> </a>
                                                <a href="#" ><i class="fa fa-save"></i><?php echo $this->FormElement($form->get('submit')); ?></a></div>
                                        </div>       
                                    </div>
                                </div>
                                <?php echo $this->form()->closeTag(); ?> 
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <br>

    </div>

</section>

<?php echo $this->inlineScript()->appendFile($this->basePath('/js/tinymce/tinymce.min.js')); ?>