@extends('layouts.app') @section('content') @php function stockLevel($total, $current) { $perc = ($current / $total) * 100; if ($perc <= 20) { return 'text-danger'; // Critical (red) } elseif ($perc <= 50) { return 'text-warning'; // Warning (yellow/orange) } elseif ($perc <= 100) { return 'text-success'; // Normal (blue) } else { return 'text-primary'; // Good (green) } } @endphp {{-- @include('dashboard.stock.navigation') --}}
LISTA DE ALMACENES
@can('write_customer') @endcan
@if ($hasActionPermission) @endif @forelse ($warehouses as $index => $warehouse) @if ($hasActionPermission) @endif @empty @endforelse
# Ver Nombre Sucursal Técnico Tipo Productos
{{ $index + 1 }}
{{ $warehouse->name }}
@if ($warehouse->is_active) Activo @else Inactivo @endif
{{ $warehouse->branch->name }} @if ($warehouse->technician) {{ $warehouse->technician->user->name }} @else - @endif @if ($warehouse->is_matrix) Matriz @elseif($warehouse->technician) Técnico @else Regular @endif {{ $warehouse->products_count }} @if (auth()->user()->work_department_id == 1) @endif @if (auth()->user()->work_department_id == 1 || auth()->user()->work_department_id == 5 || auth()->user()->work_department_id == 6) @endif @if (auth()->user()->work_department_id == 1) @endif @if (auth()->user()->work_department_id == 1) @endif
No hay almacenes para mostrar

No se encontraron almacenes en el sistema.

@include('stock.create.modals.form') @endsection