@extends('app-new') @push('head-script') @endpush @push('content-header') @endpush @section('content')
{{-- Employee Info --}}
{{ $profile->employee->name ?? 'Employee' }}
FY {{ $profile->financialYear->label ?? '-' }} | Gross Income: ₹ {{ number_format($profile->annual_ctc + $profile->other_income, 0) }}
Recommended: {{ ucfirst($comparison['recommended']) }} Regime
@php $old = $comparison['old']; $new = $comparison['new']; @endphp {{-- Side by Side Comparison --}}
{{-- Old Regime --}}

Old Regime

@if($comparison['recommended'] === 'old') Recommended @endif

Income
Gross Income ₹ {{ number_format($old->gross_income, 0) }}
Deductions
Standard Deduction ₹ {{ number_format($old->standard_deduction, 0) }}
HRA Exemption ₹ {{ number_format($old->hra_exemption, 0) }}
Section 80C ₹ {{ number_format($old->section_80c, 0) }}
Section 80D ₹ {{ number_format($old->section_80d, 0) }}
Other Deductions ₹ {{ number_format($old->section_80g + $old->other_deductions, 0) }}
Total Deductions ₹ {{ number_format($old->total_deductions, 0) }}
Tax
Taxable Income ₹ {{ number_format($old->taxable_income, 0) }}
Tax Amount ₹ {{ number_format($old->tax_amount, 0) }}
Education Cess ₹ {{ number_format($old->education_cess, 0) }}
Total Tax ₹ {{ number_format($old->total_tax, 0) }}
Monthly TDS ₹ {{ number_format($old->monthly_tds, 0) }}
{{-- New Regime --}}

New Regime

@if($comparison['recommended'] === 'new') Recommended @endif

Income
Gross Income ₹ {{ number_format($new->gross_income, 0) }}
Deductions
Standard Deduction ₹ {{ number_format($new->standard_deduction, 0) }}
HRA Exemption N/A
Section 80C N/A
Section 80D N/A
Other Deductions N/A
Total Deductions ₹ {{ number_format($new->total_deductions, 0) }}
Tax
Taxable Income ₹ {{ number_format($new->taxable_income, 0) }}
Tax Amount ₹ {{ number_format($new->tax_amount, 0) }}
Education Cess ₹ {{ number_format($new->education_cess, 0) }}
Total Tax ₹ {{ number_format($new->total_tax, 0) }}
Monthly TDS ₹ {{ number_format($new->monthly_tds, 0) }}
{{-- Savings Summary --}} @php $savings = abs($old->total_tax - $new->total_tax); @endphp

By choosing {{ ucfirst($comparison['recommended']) }} Regime, the employee saves ₹ {{ number_format($savings, 0) }} in taxes.

{{-- Back --}}
@endsection @push('footer-script') @endpush