{{-- ✅ الهيدر --}}
{{-- ✅ المحتوى --}}

{{ __('Payslips') }}

فترة الرواتب من تاريخ {{ \Carbon\Carbon::parse($periodStart)->format('d-m-Y') }} إلى تاريخ {{ \Carbon\Carbon::parse($periodEnd)->format('d-m-Y') }} @foreach($payslips->pluck('variables_period_label')->unique() as $variablesLabel)
{{ $variablesLabel }}
@endforeach

@foreach($payslips as $p) @endforeach
اسم الموظف الرقم الوظيفي الراتب الأساسي البدلات إجمالي الراتب إضافات إجمالي المستحقات أيام استحقاق الراتب استقطاعات صافي الراتب
إضافي مهمات العمل إضافات أخرى سلفة تأخير غيابات وجزاءات أخرى تأمينات إجمالي الخصم
ساعة ريال ساعة ريال يوم ريال
{{ $p->employee->name ?? __('N/A') }} {{ $p->employee->job_number ?? '-' }} {{ number_format($p->monthly_basic_salary, 2) }} {{ number_format($p->monthly_fixed_allowances, 2) }} {{ number_format($p->monthly_gross_salary, 2) }} {{ $p->overtime_duration }} {{ number_format($p->overtime_amount, 2) }} {{ number_format($p->deputation_amount, 2) }} {{ number_format($p->bonus, 2) }} {{ number_format($p->gross_salary, 2) }} {{ number_format($p->days, 2) }} {{ number_format($p->advance_amount, 2) }} {{ $p->delay_duration }} {{ number_format($p->delay_amount, 2) }} {{ number_format($p->absences, 2) }} {{ number_format($p->absence_and_violation_amount, 2) }} {{ number_format($p->other_deduction_amount, 2) }} {{ number_format($p->insurance_amount, 2) }} {{ number_format($p->deduction, 2) }} {{ number_format($p->net_salary, 2) }}
___________________________
{{ __('Signature') }}
{{-- ✅ الفوتر --}}