<div class="m-subheader " style="padding-top:0px; padding-bottom: 0px">
    <div class="d-flex align-items-center">
        <div class="mr-auto">
            <h3 class="m-subheader__title m-subheader__title--separator">
                Audit Log
            </h3>
            <ul class="m-subheader__breadcrumbs m-nav m-nav--inline">
                <li class="m-nav__item m-nav__item--home">
                    <a href="#" class="m-nav__link m-nav__link--icon">
                        <i class="m-nav__link-icon flaticon-line-graph"></i>
                    </a>
                </li>
                <li class="m-nav__separator">
                    -
                </li>
                <li class="m-nav__item">
                    <a href="" class="m-nav__link">
                        <span class="m-nav__link-text">
                            Dashboard
                        </span>
                    </a>
                </li>
                <li class="m-nav__separator">
                    -
                </li>
                <li class="m-nav__item">
                    <span class="m-nav__link-text">
                        Admin
                    </span>
                </li>
                <li class="m-nav__separator">
                    -
                </li>
                <li class="m-nav__item">
                    <span class="m-nav__link-text">
                        Audit Log
                    </span>
                </li>
            </ul>
        </div>
    </div>
</div>

<div class="m-portlet m-portlet--creative m-portlet--bordered-semi"   style="margin-top:20px;">
    <div class="m-portlet__head" >
        <div class="m-portlet__head-caption ">
            <div class="m-portlet__head-title">
                <span class="m-portlet__head-icon m--hide">
                    <i class="flaticon-statistics"></i>
                </span>
                <h2 class="m-portlet__head-label m-portlet__head-label--accent" style="width: 150px;">
                    <span>Audit Log</span> 
                </h2>
            </div>              
        </div>
        <div class="m-portlet__head-tools">
            <ul class="m-portlet__nav">
                <li class="m-portlet__nav-item">
                    <a href="#" class="btn btn-accent m-btn m-btn--icon"  id="btnAuditLogReportView">
                        <span>
                            <i class="flaticon-list"></i>
                            <span>View</span>
                        </span>
                    </a>    
                    <a href="#" class="btn btn-success m-btn m-btn--icon"  id="btnAuditLogReportPrint">
                        <span>
                            <i class="fa fa-print fa-lg"></i>
                            <span>Print</span>
                        </span>
                    </a>    
                    <a href="#" class="btn btn-info m-btn m-btn--icon"  id="btnAuditLogReportExport">
                        <span>
                            <i class="fa flaticon-folder-2"></i>
                            <span>Export</span>
                        </span>
                    </a>
                </li>                       
            </ul>
        </div>
    </div>
    <div class="m-portlet__body" >
        <div style="margin-top:5px">
            <div class="ui-widget-content ui-corner-all" id="sub-leave-group-filter" >
                <div class="m-portlet__body">   
                    <div class="form-group m-form__group row">
                       <label class="col-md-1 col-form-label">User:</label>
                        <div class="col-lg-2 col-md-2">
                            <select class="form-control m-input m-input select2me " id="cobAuditLogReportUserId">
                                <?php echo $this->getUserOption() ; ?>
                            </select>
                        </div>     
                        <label class="col-lg-1 col-form-label">Date Filter :</label>
                        <div class="col-lg-2">
                            <div class='input-group date'>
                                <input type='text' class="form-control m-input datepicker-emp" readonly  placeholder="Select date" id="txtAuditLogReportStart" />
                                    <div class="input-group-append">
                                        <span class="input-group-text">
                                            <i class="la la-calendar-check-o"></i>
                                        </span>
                                    </div>
                            </div>
                        </div>
                        -
                       <div class="col-lg-2">
                           <div class='input-group date'>
                               <input type='text' class="form-control m-input datepicker-emp" readonly  placeholder="Select date" id="txtAuditLogReportEnd" />
                               <div class="input-group-append">
                                   <span class="input-group-text">
                                       <i class="la la-calendar-check-o"></i>
                                   </span>
                               </div>
                           </div>
                        </div>
                    </div>    
                </div>
            </div>
             <div class="m_datatable" id="auditlogtable"></div>
        </div>
    </div>
</div>


<script type="text/javascript">
var audit_log_report_url = "<?php echo Util::convertLink("AuditLogReport") ; ?>" ;
<?php include (PATH_CODE . "js/admin/auditlogreport.js") ; ?>
</script>
<script src="assets/js/vendors.bundle.custom.js" type="text/javascript"></script>