@extends('layouts.app') @section('title', 'Employees') @section('page-title', 'Employee Management') @section('content')
👥 Employees 💰 Salary 💸 Expenses
Add Employee
@forelse($employees as $emp) @php $gross = $emp->basic_salary + $emp->hra + $emp->other_allowances; $net = $gross - $emp->pf_employee - $emp->esi_employee; @endphp @empty @endforelse
Employee Department Type Joining Date Basic Salary Gross Net Status Actions
{{ $emp->name }}

{{ $emp->designation ?: '—' }}

{{ $emp->department ?: '—' }} {{ str_replace('_',' ',$emp->employment_type) }} {{ $emp->joining_date ? \Carbon\Carbon::parse($emp->joining_date)->format('d M Y') : '—' }} ₹{{ number_format($emp->basic_salary, 2) }} ₹{{ number_format($gross, 2) }} ₹{{ number_format($net, 2) }} {{ $emp->is_active ? 'Active' : 'Inactive' }}

No employees added yet

Add first employee
@if($employees->hasPages())
{{ $employees->links() }}
@endif
@endsection