@extends('layouts.admin') @section('content')
{{-- Header --}}

{{ __('Machine Inventory Overview') }}

{{ __('Real-time slot-level inventory across all machines') }}

{{-- List Mode --}}
{{-- AJAX Loading Overlay --}}
@if(auth()->user()->isSystemAdmin())
@endif
@include('admin.warehouses.partials.list-machines', ['machines' => $machines])
{{-- Detail Mode --}} {{-- 機台庫存批次匯出 Modal --}}

{{ __('Export Machine Inventory') }}

@forelse($exportMachines as $m) @empty

{{ __('No machines') }}

@endforelse
{{-- 暫時隱藏 CSV 匯出(保留備用;後端仍支援 csv/zip) --}} {{-- --}}
{{ __('Total Stock Volume') }} {{ __('Generate Replenishment Order') }}

{{ __('Active Slots') }}
{{ __('Empty Slots') }}
{{ __('Stock Level > 50%') }}
{{ __('Expired') }}
{{ __('Low Stock') }}
{{-- Mobile Card View for Slots --}}
{{-- Movements Slide-out Panel --}}
@endsection @section('scripts') @endsection