@extends('layouts.app') @section('title', 'الرواتب والمصروفات') @section('page_title', 'إدارة الرواتب والمصروفات') @section('content')
إجمالي الإيرادات
إجمالي المصروفات
إجمالي الرواتب
صافي الربح
| الطبيب | الإيراد | نسبة العمولة % | العمولة | رواتب مدفوعة | الربحية |
|---|---|---|---|---|---|
| {{ $row['name'] }} | {{ number_format($row['revenue'], 2) }} | {{ number_format($row['commission_pct'], 2) }} | {{ number_format($row['commission'], 2) }} | {{ number_format($row['paid_salaries'], 2) }} | {{ number_format($row['profit'], 2) }} |
| لا توجد بيانات للأطباء لهذا الشهر | |||||
| الموظف | المنصب | الراتب الأساسي | البدلات | الخصومات | صافي الراتب | حالة الدفع | الإجراءات |
|---|---|---|---|---|---|---|---|
|
{{ $salary->employee->name }}
{{ $salary->employee->mobile }} |
@switch($salary->employee->role) @case('doctor') طبيب @break @case('receptionist') موظف استقبال @break @endswitch | {{ number_format($salary->base_salary) }} ج.م | {{ number_format($salary->allowances) }} ج.م | {{ number_format($salary->deductions) }} ج.م | {{ number_format($salary->net_salary) }} ج.م | {{ $salary->payment_status === 'paid' ? 'مدفوع' : ($salary->payment_status === 'cancelled' ? 'ملغي' : 'معلق') }} |
|
|
لا توجد رواتب مسجلة |
|||||||
| التاريخ | الوصف | الفئة | المبلغ | طريقة الدفع | الحالة | الإجراءات |
|---|---|---|---|---|---|---|
| {{ $expense->expense_date->format('Y-m-d') }} | {{ $expense->description }} | {{ $expense->category }} | {{ number_format($expense->amount) }} ج.م | {{ $expense->payment_method }} | {{ $expense->payment_status === 'paid' ? 'مدفوع' : ($expense->payment_status === 'cancelled' ? 'ملغي' : 'معلق') }} |
|
|
لا توجد مصروفات مسجلة |
||||||