@extends('layouts.app') @section('content')
تحليل تفصيلي لكل المنتجات المباعة
عدد المنتجات
{{ number_format($analysis['product_count']) }}
إجمالي الكمية
{{ number_format($analysis['total_quantity']) }}
إجمالي القيمة
{{ number_format($analysis['total_value'], 2) }}
متوسط قيمة المنتج
{{ number_format(($analysis['total_value'] / max($analysis['product_count'], 1)), 2) }}
{{ $product['description'] }}
{{ number_format($product['percentage'], 2) }}% من الإجمالي
{{ number_format($product['total_value'], 2) }}
لا توجد بيانات
@endforelse| # | اسم المنتج | الكمية المباعة | قيمة المنتج | عدد الفواتير | متوسط الكمية | النسبة |
|---|---|---|---|---|---|---|
| {{ $loop->iteration }} |
{{ $product['description'] }}
|
{{ number_format($product['total_quantity']) }} | {{ number_format($product['total_value'], 2) }} | {{ number_format($product['invoice_count']) }} | {{ number_format($product['average_quantity_per_invoice'], 2) }} | {{ $product['percentage'] }}% |
|
لا توجد بيانات حالياً |
||||||