Informasi Pemesan

Nomor Meja
#{{ $tableNumber }}

Struk digital akan dikirim melalui email.

Metode Pembayaran

@if(($payment_gateway_enabled ?? true) === true) @endif
@if ((string) session('customer_type') === 'member' && is_numeric(session('member_id')))

Poin Member

Saldo Poin
{{ number_format((int) ($availablePoints ?? 0), 0, ',', '.') }}
@if ((bool) ($canUsePoints ?? false)) @else
Gunakan Poin
{{ (string) (($pointsEligibilityMessage ?? '') !== '' ? $pointsEligibilityMessage : 'Poin belum memenuhi syarat untuk digunakan.') }}
@endif
@endif @if (! empty($inventoryWarnings))

Informasi

Sebagian item mungkin perlu konfirmasi ketersediaan di kasir.

    @foreach ($inventoryWarnings as $w)
  • {{ $w }}
  • @endforeach
@endif

Voucher

@if (trim((string) ($voucherCodeInput ?? '')) !== '')

{{ $voucherMessage }}

@endif
@php $totalNoRounding = (int) (($netSubtotal ?? $subtotal) + $tax); $midtransFee = (int) round($totalNoRounding * 0.007); $totalWithFee = $totalNoRounding + $midtransFee; @endphp

Ringkasan Pesanan

@forelse($cartItems as $item) @php $hasDiscount = isset($item['price_afterdiscount']) && (int) $item['price_afterdiscount'] > 0 && (int) $item['price_afterdiscount'] < (int) $item['price']; $price = $hasDiscount ? (int) $item['price_afterdiscount'] : (int) $item['price']; $qty = (int) ($item['quantity'] ?? 1); $lineSubtotal = $price * $qty; @endphp

{{ $item['name'] }}

Rp{{ number_format($lineSubtotal, 0, ',', '.') }}
{{ $qty }}x @ Rp{{ number_format($price, 0, ',', '.') }}
@if (! empty($packageContentsByProductId[(int) ($item['id'] ?? 0)] ?? []))
Isi Paket
    @foreach (($packageContentsByProductId[(int) ($item['id'] ?? 0)] ?? []) as $content)
  • {{ $content }}
  • @endforeach
@endif @if(!empty($item['note']))

"{{ $item['note'] }}"

@endif
@empty
Keranjang kosong
@endforelse @if(($voucherDiscountAmount ?? 0) > 0)
Diskon Voucher -Rp{{ number_format((int) $voucherDiscountAmount, 0, ",", ".") }}
@endif @if(($pointDiscountAmount ?? 0) > 0)
Diskon Poin ({{ number_format((int) ($pointsToRedeem ?? 0), 0, ",", ".") }} poin) -Rp{{ number_format((int) ($pointDiscountAmount ?? 0), 0, ",", ".") }}
@endif @if($tax > 0)
PB1 ({{ $taxRate }}%) Rp{{ number_format($tax, 0, ",", ".") }}
@endif @if($rounding_adjustment != 0)
Pembulatan Rp{{ number_format($rounding_adjustment, 0, ",", ".") }}
@endif
Biaya Admin (0,7%) Rp{{ number_format($midtransFee, 0, ",", ".") }}
Total Rp{{ number_format($total, 0, ",", ".") }} Rp{{ number_format($totalWithFee, 0, ",", ".") }}

Dengan melanjutkan, Anda menyetujui Syarat & Ketentuan kami.

Total Tagihan

Rp{{ number_format($total, 0, ",", ".") }}

Rp{{ number_format($totalWithFee, 0, ",", ".") }}

@if (! $hasUnpaidTransaction)
@csrf
@else
@csrf
@endif