@extends('layouts.app') @section('title', 'تقرير المبيعات الإجمالي') @section('content')
ملخص شامل لإجمالي المبيعات والضرائب والخصومات
عدد الفواتير
{{ number_format($summary['total_invoices']) }}
فاتورة
إجمالي المبيعات
{{ number_format($summary['total_sales'], 0) }}
ريال
الخصومات
{{ number_format($summary['total_discount'], 0) }}
{{ number_format(($summary['total_discount'] / max(1, $summary['total_sales'])) * 100, 2) }}%
الضريبة
{{ number_format($summary['total_tax'], 0) }}
{{ number_format(($summary['total_tax'] / max(1, $summary['total_sales'])) * 100, 2) }}%
| البيان | القيمة | النسبة |
|---|---|---|
| المبيعات الفرعية | {{ number_format($summary['total_sales'], 0) }} ريال | 100% |
| الخصومات | -{{ number_format($summary['total_discount'], 0) }} ريال | {{ number_format(($summary['total_discount'] / max(1, $summary['total_sales'])) * 100, 2) }}% |
| الضريبة المضافة | +{{ number_format($summary['total_tax'], 0) }} ريال | {{ number_format(($summary['total_tax'] / max(1, $summary['total_sales'])) * 100, 2) }}% |
| الإجمالي | {{ number_format($summary['total_amount'], 0) }} ريال | 100% |
| المبالغ المدفوعة | {{ number_format($summary['paid_amount'], 0) }} ريال | {{ number_format(($summary['paid_amount'] / max(1, $summary['total_amount'])) * 100, 2) }}% |
| المبالغ المعلقة | {{ number_format($summary['remaining_amount'], 0) }} ريال | {{ number_format(($summary['remaining_amount'] / max(1, $summary['total_amount'])) * 100, 2) }}% |