@extends('layouts.superadmin') @section('title', 'Rack Management') @section('page-title', 'Rack Management') @section('content')
Upload Bin Locations CSV
@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif
@csrf
Bin Locations List
@if(isset($bins) && $bins->count()) @foreach($bins as $bin) @endforeach
Bin Name Sequence Status Min Qty Max Qty
{{ $bin->bin_name }} {{ $bin->sequence }} @if($bin->status) @php $badgeClass = match(strtolower($bin->status)) { 'fastmoving' => 'bg-success', 'slowmoving' => 'bg-warning', 'overflow' => 'bg-secondary', default => 'bg-dark', }; @endphp {{ ucfirst($bin->status) }} @else - @endif {{ $bin->min_qty ?? '-' }} {{ $bin->max_qty ?? '-' }}
@else

No bin locations found.

@endif
@endsection