@extends('layouts.admin') @push('styles') @endpush @section('content') Department Select Department @foreach ($departments as $v) id) ? 'selected' : '' }} > {{ $v->department_name }} @endforeach Designation Select Designation @foreach ($designations as $v) id) ? 'selected' : '' }}> {{ $v->designation }} @endforeach Employee Select Employee @foreach ($employees as $v) id ? 'selected' : '' }}> {{ $v->emp_name }} @endforeach Status All Active Resige Search Refresh Employee List SL Emp. ID Name Phone Department Designation Joining Date Blood Group Salary Image Documents Status Action @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 {{ $sl++ }} {{ $employee->emp_id }} {{ $employee->emp_name }} {{ $employee->phone }} {{ $employee->department_name }} {{ $employee->designation }} {{ $employee->joining_date }} {{ $employee->blood_group }} {{ $employee->salary }} {{ $rstatus }} Promotion Increment Download Resign Edit ID Card Delete @endforeach @endif
Employee Name :
Employee ID :
Joining Date :
Previous Increment Info:
Department :
Designation :
Promotion History: