<?php

use WpBookingPro\Factory;
use WpBookingPro\Language\Text;
$doc = Factory::getDocument();
// $doc->addStyleSheet('admin_woopanel/app/assets/nb-font-icon/nb-font-icon.css');
// $doc->addLessStyleSheet('admin/app/assets/less/list_form_vendor.less');
?>
<div class="view-vendor-form">
    <form action="" method="post" name="admin-form" enctype="multipart/form-data">

        <div>
            <ul class="state-tab nav nav-tabs" role="tablist">
                <li role="presentation" class="active"><a href="#category-table" aria-controls="category-table" role="tab"
                                                          data-toggle="tab"> <?php esc_html_e('Category detail','wpbookingpro') ?></a></li>
                <li role="presentation" ><a href="#employee-table" aria-controls="employee-table" role="tab"
                                                          data-toggle="tab"> <?php esc_html_e('Employee detail','wpbookingpro') ?></a></li>
                <li role="presentation"><a href="#service-table" aria-controls="service-table" role="tab"
                                                          data-toggle="tab"> <?php esc_html_e('Service detail','wpbookingpro') ?></a></li>
            </ul>
            <div class="tab-content">
                <div role="tabpanel" class="tab-pane active" id="category-table">
                    <div class="row">
                        <div class="col-md-12">
                            <?php $this->loadTemplate('category') ?>
                        </div>
                    </div>
                </div>
                <div role="tabpanel" class="tab-pane" id="employee-table">
                    <div class="row">
                        <div class="col-md-12">
                            <?php $this->loadTemplate('employee') ?>
                        </div>
                    </div>
                </div>
                <div role="tabpanel" class="tab-pane" id="service-table">
                    <div class="row">
                        <div class="col-md-12">
                            <?php $this->loadTemplate('service') ?>
                        </div>
                    </div>
                </div>
            </div>
        </div>
		<?php echo ($this->form->renderField('id')) ?>
        <input type="hidden" name="task" value="state.save">
    </form>
</div>
<?php
$doc->addScriptApplySelector('.view-vendor-form','view_form_vendor',array(

),'admin/app/assets/js/view_form_vendor.js');
