{{-- Header --}}
{{-- Category Filter --}}
@foreach($this->categories as $category) @endforeach
{{-- Products Grid --}}
@forelse($this->products as $product)
{{ $product->category?->icon ?? '📦' }}
{{ $product->name }}

Stok: {{ $product->stock }}

Rp {{ number_format($product->sellPrice, 0, ',', '.') }}
@if($product->isConsignment) 📦 Titipan @endif
@empty
📦

Tidak ada produk ditemukan

@endforelse
{{-- Cart Sidebar --}} {{-- Mobile Bottom Bar --}}

Total Item: {{ $this->cartItemCount }}

Rp {{ number_format($this->cartTotal, 0, ',', '.') }}

{{-- Payment Modal --}}

💳 Pembayaran

{{-- Total --}}

Total Bayar

Rp {{ number_format($this->cartTotal, 0, ',', '.') }}

{{-- Payment Method --}}
{{-- Cash Input --}} @if($paymentMethod === 'CASH')
@foreach([10000, 20000, 50000, 100000] as $amount) @endforeach
{{-- Change --}} @if($cashReceived >= $this->cartTotal)

Kembalian

Rp {{ number_format($this->change, 0, ',', '.') }}

@endif @endif {{-- Actions --}}
{{-- Success Toast --}} @if($lastInvoice)
✅ Transaksi Berhasil: {{ $lastInvoice }}
@endif