<?php

use WpBookingPro\Factory;
use WpBookingPro\Html\WpBookingProHtmlBackend;
use WpBookingPro\Language\Text;
$doc = Factory::getDocument();
$doc->addStyleSheet('admin_woopanel/app/assets/nb-font-icon/nb-font-icon.css');
?>
<div class="view-employee-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="#detail" aria-controls="detail" role="tab" data-toggle="tab">
                        <?php esc_html_e('Employee detail','wpbookingpro') ?>
                    </a>
                </li>
                <li role="presentation" >
                    <a href="#assign-service" aria-controls="assign-service" role="tab" data-toggle="tab">
                        <?php esc_html_e('Assign Service','wpbookingpro') ?>
                    </a>
                </li>
            </ul>
            <div class="tab-content">
                <div role="tabpanel" class="tab-pane active" id="detail">
                    <div class="row">
                        <div class="col-md-6">
                            <?php echo($this->form->renderField('cover')) ?>
                        </div>
                        <div class="col-md-6">
                            <?php echo($this->form->renderField('image')) ?>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-6">
                            <?php echo($this->form->renderField('first_name')) ?>
                        </div>
                        <div class="col-md-6">
                            <?php echo($this->form->renderField('last_name')) ?>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-6">
                            <?php echo($this->form->renderField('email')) ?>
                        </div>
                        <div class="col-md-6">
                            <?php echo($this->form->renderField('location_id')) ?>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-6">
                            <?php echo($this->form->renderField('facebook','params')) ?>
                        </div>
                        <div class="col-md-6">
                            <?php echo($this->form->renderField('instagram','params')) ?>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-6">
                            <?php echo($this->form->renderField('user_id')) ?>
                        </div>
                        <div class="col-md-6">
                            <?php echo($this->form->renderField('mobile')) ?>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-6">
                            <?php
                            $field=$this->form->getField('published');
                            ?>
                            <?php echo($field->input) ?>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-12">
                            <?php echo($this->form->renderField('note_internal')) ?>
                        </div>
                    </div>
                </div>
                <div role="tabpanel" class="tab-pane" id="assign-service">
                    <div class="row">
                        <div class="col-md-12">
                            <?php
                            $field = $this->form->getField('assign_service');
                            echo ($field->input);
                            ?>
                        </div>
                    </div>
                </div>
            </div>
        </div>
		<?php echo ($this->form->renderField('id')) ?>
        <input type="hidden" name="task" value="employee.save">
    </form>
</div>
