<?php
$doc = Factory::getDocument();
$doc->addScript('resources/js/twbs-pagination/jquery.twbsPagination.js');
$doc->addLessStyleSheet('admin/nb_apps/nb_woobooking/assets/less/view_list_employee.less');
ob_start();
$this->loadTemplate('list_item');
$item_employee_html = ob_get_clean();
?>
    <div class="view-list-employee">
        <label>
            <input type="checkbox" name="quux[1]" disabled>
            <?php esc_attr_e('Foo','wpbookingpro')?>
        </label>
        <label for="baz[1]"><?php esc_attr_e('Bar','wpbookingpro')?></label>
        <input type="radio" name="quux[2]" id="baz[1]" checked>
        <label for="baz[2]"><?php esc_attr_e('Bar','wpbookingpro')?></label>
        <input type="radio" name="quux[2]" id="baz[2]">
        <div class="toolbar">
            <div class="row">
                <div class="col-md-3"><h3><?php esc_attr_e('List employee','wpbookingpro')?></h3></div>
                <div class="col-md-9">
                    <div class="pull-right">
                        <button class="btn btn-primary btn-add-new"><?php esc_attr_e('Add new','wpbookingpro')?></button>
                        <button class="btn btn-primary btn-delete"><?php esc_attr_e('Delete','wpbookingpro')?></button>
                    </div>
                </div>
            </div>
        </div>
        <div class="filter">
            <div class="row">
                <div class="col-md-12">
                <?php
                echo(LayoutHelper::render('woobooking.searchtools.default', array('view' => $this)));
                ?>
            </div>
            </div>
        </div>
        <div class="list-employee main-table">
            <div class="row">
				<?php foreach ($this->list as $item) { ?>
                    <div class="col-md-4">
                    <?php $this->item=$item ?>
                    <?php  $this->loadTemplate('list_item') ?>
                </div>
				<?php } ?>
            </div>
        </div>
        <div class="row">
            <div class="col-md-12">
                <div class="pagination-list-employee"></div>
            </div>
        </div>
    </div>

<?php
$doc->addScriptApplySelector('.view-list-employee','view_list_employee',array(
    "item_employee_html"=>  $item_employee_html,
    "class_name_drawerel"=>  "drawerel-view-list-employee"
),'nb_apps/nb_woobooking/assets/js/employee/view_list_employee.js');