File: /var/www/html/hrms-production/resources/views/admin/EmployeeProfile/police-verification.blade.php
@extends('admin.include.master')
@section('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>Character Certificate/Police Verification</h1>
</div>
</div>
</div><!-- /.container-fluid -->
</section>
<!-- Main content -->
<section class="content">
<div class="container-fluid">
{{-- Country List --}}
<div class="row">
<div class="col-12">
<div class="card">
{{-- <div class="card-header">
</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</th>
<th>Employee Name</th>
<th>Designation</th>
<th>Joining Date</th>
<th>Created By</th>
<th>Action</th>
</tr>
</thead>
<tbody>
@foreach ($GetPendingVerification as $pending)
<tr>
<td>{{ $loop->iteration }}</td>
<td><a href="{{ url('view-employee', $pending->EmployeeId) }}" target="blank">{{ $pending->EmployeeCode }}</a></td>
<td>{{ $pending->EmployeeName }}</td>
<td>{{ $pending->DesignationName }}</td>
<td>{{ date('d-M-y', strtotime($pending->JoiningDate)) }}</td>
<td>{{ $pending->Created_by }}, {{ date('d-M-y h:m a', strtotime($pending->Created_at)) }}</td>
<td><button type="button" title="Add Police Verification"
onclick="addPoliceVerification('{{ $pending->EmployeeId }}')" ;
class="btn btn-xs btn-outline-info" data-id=""><i
class="fas fa-user-plus"></i></button></td>
</tr>
@endforeach
</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],
//"buttons": ["copy", "csv", "excel", "pdf", "print", "colvis"]
}).buttons().container().appendTo('#userTable_wrapper .col-md-6:eq(0)');
});
</script>
<x-PoliceVerificationModal />
<!-- /.content-wrapper -->
@endsection