@extends('layouts.layoutsPrint') @section('content')
| Total Artículos | {{ $inventario->details->count() }} | Total Unidades | {{ $inventario->details->sum('cantidad_escaneada') }} | Faltantes | {{ $inventario->details->where('diferencia', '<', 0)->count() }} | Sobrantes | {{ $inventario->details->where('diferencia', '>', 0)->count() }} |
|---|
| # | Código | Descripción | Rubro / Sub-Rubro | Escaneado | Sistema | Diferencia | Estado |
|---|---|---|---|---|---|---|---|
| {{ $index + 1 }} | {{ $linea->codigo_escaneado ?? $linea->producto->codigo_interno ?? '-' }} |
{{ $linea->producto->descripcion ?? '-' }}
@if($linea->producto->sku)
SKU: {{ $linea->producto->sku }} @endif |
@if($linea->producto->rubro_sub) {{ $linea->producto->rubro_sub->rubro->descripcion ?? '' }} / {{ $linea->producto->rubro_sub->descripcion ?? '' }} @else - @endif | {{ number_format($linea->cantidad_escaneada, 0) }} | {{ number_format($linea->stock_sistema, 0) }} | {{ $linea->diferencia > 0 ? '+' : '' }}{{ number_format($linea->diferencia, 0) }} | @if($linea->diferencia < 0) Faltante @elseif($linea->diferencia > 0) Sobrante @else OK @endif |