File: /var/www/html/hrms-production/storage/framework/views/848e6813b87b5917e7b6df9c5ab217fef817355c.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 class="row mb-2">
<div class="col-sm-6">
<h1 id="page-title">Nominee Detail Report</h1>
</div>
</div>
</div><!-- /.container-fluid -->
</section>
<!-- Main content -->
<section class="content">
<div class="container-fluid">
<div class="row">
<div class="col-12">
<div class="card">
<!-- /.card-header -->
<div class="card-body">
<table id="emplaoyeeTable" class="table table-bordered table-striped table-sm">
<thead>
<tr>
<th>S.No.</th>
<th>Emp. Code</th>
<th>Emp. Name</th>
<th>Nomineee</th>
<th>Relation</th>
<th>DOB & Age</th>
<th>Adhar No.</th>
<th>Type</th>
<th>Category</th>
<th>Share(%)</th>
<th>Phone</th>
<th>Status</th>
</tr>
</thead>
<tbody>
<?php $__currentLoopData = $EmployeeNomineeList; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $NomineeDetail): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr>
<td><?php echo e($loop->iteration); ?></td>
<td><a href="<?php echo e(url('view-employee', $NomineeDetail->EmployeeId)); ?>" target="_blank" rel="noopener noreferrer"><?php echo e($NomineeDetail->EmployeeCode); ?></a></td>
<td><?php echo e($NomineeDetail->EmployeeName); ?></td>
<td><?php echo e($NomineeDetail->NomineeName); ?></td>
<td><?php echo e($NomineeDetail->EmployeeRelation); ?></td>
<td><?php echo e(date('d-M-Y', strtotime($NomineeDetail->NomineeDOB))); ?> (<?php echo e($NomineeDetail->NomineeAge); ?> yr.)</td>
<td><?php echo e($NomineeDetail->NomineeUID); ?></td>
<td><?php echo e($NomineeDetail->NomineeType); ?></td>
<td><?php echo e($NomineeDetail->NominationCategory); ?></td>
<td><?php echo e($NomineeDetail->NomineeShare); ?></td>
<td>
<?php if($NomineeDetail->NomineeContactNumber): ?>
<?php echo e($NomineeDetail->NomineeContactNumber); ?>
<?php else: ?>
--
<?php endif; ?>
</td>
<td>
<?php if($NomineeDetail->Status == '1'): ?>
<span class="badge badge-success">Active</span>
<?php else: ?>
<span class="badge badge-danger">In-Active</span>
<?php endif; ?>
</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() {
$("#emplaoyeeTable").DataTable({
"responsive": true,
"lengthChange": true,
"autoWidth": false,
"lengthMenu": [10, 20, 50, 100, 250, 500],
"columnDefs": [{ "orderable": false, "targets": 0 }],
// "initComplete": function() {
// var column = this.api().column(1);
// var select = $(
// '<select class="filter form-control-sm select2" style="width: 50%;"><option value="">All Office</option></select>'
// )
// .appendTo('#selectTriggerFilter')
// .on('change', function() {
// var val = $(this).val();
// column.search(val ? '^' + $(this).val() + '$' : val, true, false)
// .draw();
// });
// column.data().unique().sort().each(function(d, j) {
// select.append('<option value="' + d + '">' + d + '</option>');
// });
// }
"buttons": ["csv", "excel", "pdf", "print", "colvis"]
}).buttons().container().appendTo('#emplaoyeeTable_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-production/resources/views/admin/Reports/nominee-detail-report.blade.php ENDPATH**/ ?>