@extends('layouts.layout-2') @section('content') @include('admin.inventory.partials.table-actions-style')
{{ __('Produktbestand') }}
@forelse($rows as $row) @php $product = $row['product']; $rowClass = $row['status'] === 'critical' ? 'table-danger' : ($row['status'] === 'warning' ? 'table-warning' : ''); $stockClass = $row['status'] === 'critical' ? 'text-danger font-weight-bold' : ($row['status'] === 'warning' ? 'text-warning font-weight-bold' : ''); @endphp @empty @endforelse
{{ __('Name') }} {{ __('Bestand') }} {{ __('Aktion') }}
@if ($product->images->count()) @endif {{ $product->name }} {{ \App\Services\Util::formatNumber($row['stock'], 0) }} {{ __('Stück') }} @if (Auth::user()->isAdmin()) @endif {{ __('Produzieren') }}
{{ __('Keine Produkte vorhanden.') }}
@if (Auth::user()->isAdmin()) @endif @endsection