@extends('layouts.admin') @push('styles') @endpush @section('content')
Refresh

Employee List

@if (count($itemList) > 0) @php $sl = 1; @endphp @foreach ($itemList as $key => $employee) @php if(!empty($employee->resign_date)){ $rstatus = 'Resigned'; $st = 'background-color: #933333;color: #fff;'; }else{ $rstatus = 'Active'; $st = 'background-color: #428f42;color: #fff;'; } $isResigned = !empty($employee->resign_date); @endphp @if(($status == 1) && $isResigned) @continue @elseif(($status == 2) && !$isResigned) @continue @endif @endforeach @endif
SL Emp. ID Name Phone Department Designation Joining Date Blood Group Salary Image Documents Status Action
{{ $sl++ }} {{ $employee->emp_id }} {{ $employee->emp_name }} {{ $employee->phone }} {{ $employee->department_name }} {{ $employee->designation }} {{ $employee->joining_date }} {{ $employee->blood_group }} {{ $employee->salary }} photo {{ $rstatus }} Download Edit ID Card Delete
@endsection @push('scripts') @endpush