@extends('layouts.app') @section('title', 'Análisis ABC') @section('content')
Productos (80% del valor)
Ingresos: ${{ number_format($totalA, 2) }}
Porcentaje: {{ number_format($percentageA, 2) }}%
Productos (15% del valor)
Ingresos: ${{ number_format($totalB, 2) }}
Porcentaje: {{ number_format($percentageB, 2) }}%
Productos (5% del valor)
Ingresos: ${{ number_format($totalC, 2) }}
Porcentaje: {{ number_format($percentageC, 2) }}%
| # | Categoría | Producto | SKU | Ventas (Unidades) | Ingresos | % Individual | % Acumulado | Stock Actual | Costo Promedio | Valor Inventario |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $index + 1 }} | {{ $item['category'] }} |
{{ $item['product']->name }}
@if($item['product']->category)
{{ $item['product']->category->name }} @endif |
{{ $item['product']->sku ?? 'N/A' }} | {{ number_format($item['total_sold'], 2) }} | ${{ number_format($item['total_revenue'], 2) }} | {{ number_format($item['percentage'], 2) }}% | {{ number_format($item['cumulative_percentage'], 2) }}% | {{ number_format($item['current_stock'], 2) }} | ${{ number_format($item['avg_cost'], 2) }} | ${{ number_format($item['inventory_value'], 2) }} |
| No se encontraron productos con ventas en el período seleccionado. | ||||||||||
| Totales: | {{ number_format(array_sum(array_column($products, 'total_sold')), 2) }} | ${{ number_format($totalRevenue, 2) }} | 100% | - | - | - | ${{ number_format(array_sum(array_column($products, 'inventory_value')), 2) }} | |||
Productos de alto valor (80% de los ingresos). Requieren control estricto y atención prioritaria.
Productos de valor medio (15% de los ingresos). Requieren control moderado.
Productos de bajo valor (5% de los ingresos). Control básico y revisión periódica.