@extends('layouts.app') @section('content') @if ($errors->any())
@endif

بيانات المحاكاة

@csrf
@if ($result)

نتيجة المحاكاة

{{ $selectedConfig->country_name_ar ?? '' }}
{{ number_format($result['monthly_base'], 2) }}
الراتب الأساس للحساب
{{ $result['total_years'] }}
سنوات الخدمة
{{ number_format($result['gross_eos'], 2) }}
إجمالي المكافأة
{{ number_format($result['net_eos'], 2) }}
صافي المكافأة المستحقة

{{ $result['formula_text'] }}

البند القيمة
سنوات الفئة الأولى{{ $result['tier1_years'] }} سنة × {{ $result['tier1_rate'] }} شهر = {{ number_format($result['tier1_amount'], 2) }}
سنوات الفئة الثانية{{ $result['tier2_years'] }} سنة × {{ $result['tier2_rate'] }} شهر = {{ number_format($result['tier2_amount'], 2) }}
إجمالي المكافأة (قبل التعديل){{ number_format($result['gross_eos'], 2) }}
نسبة التعديل (الاستقالة){{ $result['adjustment_pct'] }}%
صافي المكافأة المستحقة{{ number_format($result['net_eos'], 2) }}
@endif @endsection