@extends('layouts.app') @section('content')
تتبع الأداء المالي عبر الفترات الزمنية المختلفة
إجمالي المبيعات
{{ number_format($data->sum('total_amount'), 2) }}
لـ {{ $data->count() }} شهور
المبالغ المدفوعة
{{ number_format($data->sum('paid_amount'), 2) }}
{{ number_format(($data->sum('paid_amount') / max($data->sum('total_amount'), 1)) * 100, 1) }}% من الإجمالي
المبالغ المتبقية
{{ number_format($data->sum('remaining_amount'), 2) }}
{{ number_format(($data->sum('remaining_amount') / max($data->sum('total_amount'), 1)) * 100, 1) }}% من الإجمالي
متوسط المبيعات الشهري
{{ number_format(($data->sum('total_amount') / max($data->count(), 1)), 2) }}
متوسط قيمة الشهر
| # | الشهر | عدد الفواتير | المبيعات | الخصم | الضريبة | الإجمالي | المدفوع | نسبة التحصيل |
|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} |
{{ $month['month'] }}
{{ $month['year'] }} |
{{ number_format($month['invoice_count']) }} | {{ number_format($month['total_sales'], 2) }} | {{ number_format($month['total_discount'], 2) }} | {{ number_format($month['total_tax'], 2) }} | {{ number_format($month['total_amount'], 2) }} | {{ number_format($month['paid_amount'], 2) }} | {{ number_format($month['collection_rate'], 1) }}% |
|
لا توجد بيانات حالياً |
||||||||