@extends('layouts.app') @section('title', 'كشوف الراتب') @section('content')
@if($payslips->count() > 0)
@foreach($payslips as $slip) @endforeach
الشهر الراتب الأساسي إجمالي البدلات إجمالي الخصومات صافي الراتب إجراءات
{{ $slip->payroll->month ?? '—' }} {{ number_format($slip->basic_salary ?? 0, 2) }} {{ number_format($slip->total_allowances ?? 0, 2) }} {{ number_format($slip->total_deductions ?? 0, 2) }} {{ number_format($slip->net_salary ?? 0, 2) }}
{{ $payslips->links() }}
@else

لا توجد كشوف رواتب

@endif
@endsection