<?php $__env->startSection('head'); ?>

        <!-- BEGIN PAGE LEVEL STYLES -->
<?php echo HTML::style("assets/global/plugins/datatables/plugins/bootstrap/datatables.bootstrap.css"); ?>

        <!-- END PAGE LEVEL STYLES -->

<?php $__env->stopSection(); ?>


<?php $__env->startSection('mainarea'); ?>


        <!-- BEGIN PAGE HEADER-->
<div class="page-head"><div class="page-title"><h1>
            <?php echo app('translator')->get("core.browse_history"); ?> - <?php echo e($selected_company->company_name); ?>

        </h1></div></div>
<div class="page-bar">
    <ul class="page-breadcrumb breadcrumb">
        <li>
            <a onclick="loadView('<?php echo e(route('admin.dashboard.index')); ?>')"><?php echo e(trans('core.dashboard')); ?></a>
            <i class="fa fa-circle"></i>
        </li>
        <li>
            <a onclick="loadView('<?php echo e(route('admin.companies.index')); ?>')"><?php echo e(trans('core.companies')); ?></a>
            <i class="fa fa-circle"></i>
        </li>
        <li>
            <span class="active"><?php echo app('translator')->get("core.browse_history"); ?></span>
        </li>

    </ul>

</div>
<!-- END PAGE HEADER-->
<!-- BEGIN PAGE CONTENT-->

<div class="row">
    <div class="col-md-12">


        <!-- BEGIN EXAMPLE TABLE PORTLET-->
        <div id="load">

            

            

        </div>
        <div class="portlet light bordered">

            <div class="portlet-body">

                <table class="table table-striped table-bordered table-hover" id="company">
                    <thead>
                        <tr>
                            <th> <?php echo app('translator')->get("core.serialNo"); ?> </th>
                            <th> <?php echo app('translator')->get("core.admin"); ?> </th>
                            <th> IP </th>
                            <th> URL </th>
                            <th> <?php echo app('translator')->get("core.timeSpent"); ?> </th>
                            <th> <?php echo app('translator')->get('core.createdOn'); ?> </th>
                        </tr>
                    </thead>

                </table>
            </div>
        </div>
        <!-- END EXAMPLE TABLE PORTLET-->

    </div>
</div>
<!-- END PAGE CONTENT-->
<?php $__env->stopSection(); ?>



<?php $__env->startSection('footerjs'); ?>


        <!-- BEGIN PAGE LEVEL PLUGINS -->
<?php echo HTML::script("assets/global/plugins/bootstrap-switch/js/bootstrap-switch.min.js"); ?>

<?php echo HTML::script("assets/global/plugins/datatables/datatables.min.js"); ?>

<?php echo HTML::script("assets/global/plugins/datatables/plugins/bootstrap/datatables.bootstrap.js"); ?>


        <!-- END PAGE LEVEL PLUGINS -->

<script>


    var table = $('#company').dataTable( {
        <?php echo $datatabble_lang; ?>

        "bProcessing": true,

        "bServerSide": true,
        "ajax": "<?php echo e(URL::route("admin.companies.ajax_browse_history", ["id" => $selected_company->id])); ?>",
        "aaSorting": [[ 0, "desc" ]],
        "aoColumns": [
            { 'data': 'id',name: 'id', "bSortable": true  },
            { 'data': 'admin', name: 'admin', "bSortable": false },
            { 'data': 'ip',name: 'ip', "bSortable": true },
            { 'data': 'url',name: 'url', "bSortable": true },
            { 'data': 'time_spent',name: 'time_spent', "bSortable": true },
            { 'data': 'created_at',name: 'companies.created_at', "bSortable": true }
        ],
        "lengthMenu": [
            [5, 15, 20, -1],
            [5, 15, 20, "All"] // change per page values here
        ],

        "sPaginationType": "full_numbers",

        "fnRowCallback": function( nRow, aData, iDisplayIndex ) {

        }

    });

</script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('admin.adminlayouts.adminlayout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/kodiinit/hrm.kodiinitiative.org/resources/views/admin/companies/browse_history.blade.php ENDPATH**/ ?>