@extends('layouts.app') @section('title', 'تقرير المقارنة الشهرية/السنوية') @section('content')
مقارنة شاملة لأداء المبيعات عبر الفترات الزمنية
| # | @if($comparison === 'monthly')الشهر | @elseالسنة | @endifعدد الفواتير | إجمالي المبيعات | الخصم | الضريبة | الإجمالي | المدفوع | المتبقي | نسبة التحصيل |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | @if($comparison === 'monthly') {{ $row['month_name'] ?? $row['month'] }} @else {{ $row['year'] }} @endif | {{ $row['invoice_count'] }} | {{ number_format($row['total_sales'], 2) }} | {{ number_format($row['total_discount'], 2) }} | {{ number_format($row['total_tax'], 2) }} | {{ number_format($row['total_amount'], 2) }} | {{ number_format($row['paid_amount'], 2) }} | {{ number_format($row['remaining_amount'], 2) }} | {{ $row['collection_rate'] }}% | |
| لا توجد بيانات | ||||||||||