@extends('layouts.app') @section('title', 'Gratuity Estimator') @section('content')

Gratuity Estimator

This is an estimator, not a legal calculator. Gratuity is a real entitlement under Nepal's Labor Act, but the exact rate per year of service and what counts as "basic salary" changes with amendments — you supply the rate below rather than the tool assuming one, so verify against current law before using a figure for an actual payout.
@csrf
You set this rate — confirm the correct figure under current Labor Act provisions.
@forelse ($records as $r) @empty @endforelse
StaffService StartYearsBasic SalaryEstimated Gratuity
{{ $r->user->name }} {{ \Carbon\Carbon::parse($r->service_start_date)->format('d M Y') }} {{ $r->years_of_service }} {{ number_format($r->basic_salary_used, 2) }} {{ number_format($r->estimated_gratuity, 2) }}
@csrf @method('DELETE')
No estimates calculated yet.
@endsection