@extends('layouts.app') @section('page-title', 'Manajemen Stok Restoran') @section('content')
Total Item
Stok Rendah
Habis
Tersedia
| Nama Item | Kategori | Stok Saat Ini | Stok Minimum | Harga Beli | Harga Jual | Margin | Status | Aksi |
|---|---|---|---|---|---|---|---|---|
|
{{ $item->name }}
@if($item->barcode)
Barcode: {{ $item->barcode }} @endif |
{{ ucfirst($item->category) }} | {{ $item->current_stock }} {{ $item->unit }} | {{ $item->min_stock }} {{ $item->unit }} | Rp {{ number_format($item->purchase_price, 0, ',', '.') }} | Rp {{ number_format($item->selling_price, 0, ',', '.') }} | {{ number_format($item->profit_margin, 1) }}% | @if($item->stock_status == 'out_of_stock') {{ $item->stock_status_text }} @elseif($item->stock_status == 'low_stock') {{ $item->stock_status_text }} @else {{ $item->stock_status_text }} @endif |