@extends('layouts.app') @section('title', 'تقرير الرواتب الشهري') @section('content')

تقرير الرواتب الشهري

العودة إلى التقارير
إعادة تعيين

ملخص التقرير

إجمالي الرواتب الأساسية

{{ number_format($summary->total_basic_salary ?? 0, 2) }} ريال

إجمالي البدلات

{{ number_format(($summary->total_housing_allowance ?? 0) + ($summary->total_transportation_allowance ?? 0) + ($summary->total_other_allowances ?? 0), 2) }} ريال

إجمالي الخصومات

{{ number_format(($summary->total_deductions ?? 0) + ($summary->total_gosi ?? 0) + ($summary->total_ta ?? 0), 2) }} ريال

صافي الرواتب

{{ number_format($summary->total_net_salary ?? 0, 2) }} ريال

تفاصيل التقرير

@if(isset($payrolls) && $payrolls->count() > 0)
@foreach($payrolls as $payroll) @endforeach
رقم الكشف الشهر/السنة عدد الموظفين الرواتب الأساسية البدلات المكافآت الخصومات التأمينات الضرائب صافي الرواتب الحالة
{{ $payroll->payroll_number }} {{ $payroll->month }}/{{ $payroll->year }} {{ $payroll->items_count ?? 0 }} {{ number_format($payroll->total_basic_salary, 2) }} {{ number_format($payroll->total_housing_allowance + $payroll->total_transportation_allowance + $payroll->total_other_allowances, 2) }} {{ number_format($payroll->total_bonuses, 2) }} {{ number_format($payroll->total_deductions, 2) }} {{ number_format($payroll->total_gosi, 2) }} {{ number_format($payroll->total_ta, 2) }} {{ number_format($payroll->total_net_salary, 2) }} @if($payroll->status == 'draft') مسودة @elseif($payroll->status == 'approved') معتمد @elseif($payroll->status == 'paid') مدفوع @elseif($payroll->status == 'cancelled') ملغي @endif
{{ $payrolls->links() }}
@else
لا توجد بيانات متاحة للفترة المحددة.
@endif
@endsection