{{-- New-Unity ERP | app/Modules/Warehouse/Resources/Views/inventory/stock-overview.blade.php | v1.0 | 15/07/2026 --}} {{-- v1.0 — Stock Overview (MMBE equivalent). Vista jerarquica: Empresa > Almacen > Zona > Lote > Bin --}} @extends('layouts.vertical', ['pageTitle' => __('warehouse.stock-overview')]) @section('page-title')
{{ $lot['lot_number'] }}
{{-- Stock type --}}
@php
$typeColors = ['unrestricted'=>'success','blocked'=>'danger','quarantine'=>'warning','reserved'=>'info','returns'=>'secondary'];
$typeColor = $typeColors[$lot['stock_type']] ?? 'secondary';
@endphp
{{ ucfirst($lot['stock_type']) }}
{{-- Bin --}}
@if($lot['bin_id'])
{{ $lot['bin_id'] }}
{{ $lot['bin_code'] }}
@endif
{{-- Qty --}}
{{ number_format($lot['quantity'], 2) }}
{{-- Cost --}}
${{ number_format($lot['unit_cost'], 2) }}
{{-- Entry date --}}
{{ $lot['entry_date'] }}
{{-- Block reason --}}
@if($lot['block_reason'])
@endif