@extends('layouts.app')
@section('title', 'Productos')
@section('subtitle', 'Catálogo, stock por bodega y operaciones de ingreso/traspaso')
@section('content')
@if(session('status'))
{{ session('status') }}
@endif
@foreach($products as $product)
{{ $product->description }}
{{ $product->code }}
@if($product->category){{ $product->category }} @endif
Unidad: {{ $product->unit }} · Mín: {{ $product->min_stock }} · Crítico: {{ $product->critical_stock }}
Editar
Traspasar
Cuadratura
Adjuntar foto
Bodega
Stock
Mínimo
Crítico
@foreach($product->warehouses as $wh)
{{ $wh->name }}
{{ $wh->pivot->stock }}
{{ $wh->pivot->min_stock }}
{{ $wh->pivot->critical_stock }}
@endforeach
Ingreso a bodega
Campos adicionales: OC y Factura
Registrar ingreso
@endforeach
@endsection