<?php

use WpBookingEvent\Factory as FactoryAlias;
use WpBookingEvent\Html\ToolBar;
use WpBookingEvent\Html\WpBookingEventHtmlBackend as WpBookingEventHtmlBackendAlias;
use WpBookingEvent\Utilities\Utility as UtilityAlias;

$doc = FactoryAlias::getDocument();
WpBookingEventHtmlBackendAlias::load_jquery_library('icheck');
ToolBar::setTitle("List Employee");
WpBookingEventHtmlBackendAlias::load_jquery_library('datatables');
?>
<?php ?>
    <form action="<?php echo(UtilityAlias::getBackendGoToLink("employee.form")) ?>" name="admin-form" method="post">
        <div class="view-list-employee">
            <div class="list-employee main-table">
                <div class="row">
                    <?php foreach ($this->list as $item) { ?>
                        <div class=" col-sm-6 col-md-4 col-xl-4">
                            <?php $this->item=$item ?>
                            <?php  $this->loadTemplate('list_item') ?>
                        </div>
                    <?php } ?>
                </div>
            </div>
        </div>
        <input type="hidden" name="task" value="">
    </form>
<?php
$doc->addLessStyleSheet('admin/app/assets/less/view_list_employee.less');
$doc->addScriptApplySelector('.view-list-employee', 'view_list_employee', array(

), "admin/app/assets/js/view_list_employee.js");
?>