@extends('layouts.admin') @section('title', 'Minibar Consumptions') @section('content') @php $currency = \App\Models\Hotel::query()->value('currency') ?? 'USD'; @endphp Record Products
@forelse($consumptions as $c)@empty@endforelse
DateRoomProductQtyTotalCharged
{{ $c->created_at?->format('M j, Y') }}{{ $c->room?->number ?? '—' }} {{ $c->minibarProduct?->name ?? '—' }}{{ $c->quantity }}{{ $currency }} {{ number_format($c->total, 2) }} {{ $c->charged ? 'Yes' : 'No' }} @if(!$c->charged)
@csrf
@endif
No consumptions
{{ $consumptions->links() }}
@endsection