@extends('layouts.app') @section('content')

معاينة الاحتساب - {{ $month }}

@if(count($preview) > 0)
@foreach($preview as $row) @endforeach
الموظف الدولة الراتب الإجمالي الشهري الراتب السنوي المتوقع الدخل الخاضع للضريبة ضريبة الدخل الشهرية ضريبة إضافية إجمالي الضريبة النسبة الفعلية
{{ $row['employee']->first_name ?? '' }} {{ $row['employee']->last_name ?? '' }} {{ $taxCountries[$row['country_code']]['flag'] ?? '' }} {{ $taxCountries[$row['country_code']]['name'] ?? $row['country_code'] }} {{ number_format($row['gross_salary'], 2) }} {{ number_format($row['annual_projected'], 2) }} {{ number_format($row['taxable_income'], 2) }} {{ number_format($row['tax_amount'], 2) }} {{ number_format($row['additional_tax'], 2) }} {{ number_format($row['total_tax'], 2) }} {{ number_format($row['effective_rate'], 2) }}%
@csrf
@else

لا يوجد موظفون في الدول الخاضعة لضريبة الدخل (مصر، الأردن، العراق، لبنان)، أو لم يتم إعداد الشرائح الضريبية بعد.

@endif
@endsection