@extends('layouts.app') @section('title', 'القروض والسلف') @section('page_title', 'القروض والسلف') @section('content')
| الموظف | النوع | المبلغ الإجمالي | الخصم الشهري | المتبقي | الحالة | إجراء |
|---|---|---|---|---|---|---|
|
{{ $loan->employee->name }} {{ $loan->loan_number }} |
{{ $loan->type === 'loan' ? 'قرض' : 'سلفة' }} | {{ number_format($loan->amount, 2) }} | {{ number_format($loan->monthly_deduction, 2) }} | {{ number_format($loan->remaining_amount, 2) }} | {{ match($loan->status) { 'active' => 'نشط', 'completed' => 'مكتمل', 'cancelled' => 'ملغى', default => $loan->status } }} | |
| لا توجد قروض أو سلف مسجلة حالياً. | ||||||