@extends('layouts.admin') @section('title', 'Minibar Products') @section('content') @php $currency = \App\Models\Hotel::query()->value('currency') ?? 'USD'; @endphp New Consumptions
@forelse($products as $p)@empty@endforelse
NameInventory LinkPriceActive
{{ $p->name }}{{ $p->product?->name ?? '—' }} {{ $currency }} {{ number_format($p->price, 2) }}{{ $p->is_active ? 'Yes' : 'No' }} Edit
@csrf @method('DELETE')
No products
{{ $products->links() }}
@endsection