@extends('layouts.app') @section('title', isset($employee) ? 'Edit Employee' : 'Add Employee') @section('page-title', isset($employee) ? 'Edit Employee' : 'Add Employee') @section('content')
@csrf @if(isset($employee)) @method('PUT') @endif
{{-- Personal Info --}}

Personal Information

@error('name')

{{ $message }}

@enderror
{{-- Salary --}}

Salary & CTC

{{-- Live CTC Breakdown --}}

Auto-Calculated CTC Breakdown

Gross Salary

PF (Employee 12%)

ESI (Employee 0.75%)

(if gross ≤ ₹21,000)

Net Take-Home

{{-- Bank Details --}}

Bank & Compliance

{{-- Right: Status --}}

Status

Cancel
@endsection