File: /var/www/html/hrms-production/storage/framework/views/3da08d3f76a9d7dbeaa9218257259180334f8881.php
<?php $__env->startSection('content'); ?>
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<div class="container-fluid">
</div><!-- /.container-fluid -->
</section>
<!-- Main content -->
<section class="content">
<div class="container-fluid">
<div class="row">
<div class="col-12">
<form action="" method="post" id="">
<?php echo csrf_field(); ?>
<div class="card">
<div class="card-header">
List of Employees
</div>
<!-- /.card-header -->
<div class="card-body">
<table id="emplaoyeeTable" class="table table-bordered table-striped table-sm">
<thead>
<tr>
<th>S.No.</th>
<th>Employee Code (M)</th>
<th>Employee Name</th>
<th>Controlling Officer</th>
<th>Department</th>
<th>Designation</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<?php $__currentLoopData = $AllServiceBook; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $AllServiceBook): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr>
<td><?php echo e($loop->iteration); ?></td>
<td><a href="<?php echo e(url('employee-service-book', $AllServiceBook->EmployeeId)); ?>" target="blank"><?php echo e($AllServiceBook->EmployeeCode); ?></a></td>
<td><?php echo e($AllServiceBook->EmployeeName); ?></td>
<td><?php echo e($AllServiceBook->ControllingOfficer); ?></td>
<td><?php echo e($AllServiceBook->DepartmentName); ?></td>
<td><?php echo e($AllServiceBook->DesignationName); ?></td>
<td>
</td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tbody>
</table>
</div>
<!-- /.card-body -->
</div>
<!-- /.card -->
</form>
</div>
<!-- /.col -->
</div>
<!-- /.row -->
</div>
<!-- /.container-fluid -->
</section>
<!-- /.content -->
</div>
<script>
function formReset()
{
Swal.fire({
title: 'Do Want to reset form?',
text: "Are you sure you want to reset this form!",
icon: 'warning',
showCancelButton: true,
confirmButtonColor: '#3085d6',
cancelButtonColor: '#d33',
confirmButtonText: 'Yes, reset it!'
}).then(function() {
$('form#paySlipForm').each(function() {
this.reset();
});
});
}
</script>
<script>
$(function() {
$("#emplaoyeeTable").DataTable({
"responsive": true,
"lengthChange": true,
"autoWidth": false,
"lengthMenu": [10, 20, 50, 100, 250, 500],
//"buttons": ["copy", "csv", "excel", "pdf", "print", "colvis"]
}).buttons().container().appendTo('#userTable_wrapper .col-md-6:eq(0)');
});
</script>
<!-- /.content-wrapper -->
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.include.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/hrms/resources/views/admin/EmployeeProfile/service-book-list.blade.php ENDPATH**/ ?>