{{-- MODAL SCAN CAMERA --}}
@foreach ($categories as $item) @endforeach
@foreach ($products as $item)
{{ $item->name }}

{{ $item->name }}

Rp {{ number_format($item->price, 0, ',', '.') }}

({{ $item->stock }})

@endforeach

Keranjang

@if (count($order_items) === 0)
Empty Cart

Keranjang Kosong

Pilih produk untuk memulai

@else
@foreach ($order_items as $item)
{{ $item['name'] }}

{{ $item['name'] }}

Rp {{ number_format($item['price'], 0, ',', '.') }}

Subtotal: Rp {{ number_format($item['price'] * $item['quantity'], 0, ',', '.') }}
{{ $item['quantity'] }}
@endforeach
Total Rp {{ number_format($this->calculateTotal(), 0, ',', '.') }}
@endif
@if ($showCheckoutModal)
Total Belanja
Rp {{ number_format($total_price, 0, ',', '.') }}
@error('payment_method_id') {{ $message }} @enderror
Kembalian
Rp {{ number_format($change, 0, ',', '.') }}
@if ($is_cash)
Rp @error('cash_received') {{ $message }} @enderror
@php $quickAmounts = [50000, 100000, 150000, 200000, 500000, 1000000]; @endphp @foreach ($quickAmounts as $amount) @endforeach
@else
Pembayaran non-tunai akan diproses sesuai nominal total belanja
@endif
@endif @if ($showConfirmationModal)

Pembayaran Berhasil!

Transaksi telah berhasil diproses

@if ($orderToPrint) @php $order = \App\Models\Transaction::find($orderToPrint); @endphp @if ($order)
No. Transaksi {{ $order->transaction_number }}
Total Bayar Rp {{ number_format($order->cash_received, 0, ',', '.') }}
@if ($order->change > 0)
Kembalian Rp {{ number_format($order->change, 0, ',', '.') }}
@endif @endif @endif

Cetak Struk?

@if (!$print_via_bluetooth) @else @endif
Modal akan tertutup dalam detik
@endif