Customer
Informasi Pemesan
Produk
@if ($order->product && ! $order->product->trashed())
{{ $order->productName() }}
@else
{{ $order->productName() }}
@endif
@if ($order->variantName())
{{ $order->variantOptionName() ?: 'Variant' }}
{{ $order->variantLabel() }}
@endif
@foreach ($order->checkoutAnswerRows() as $answer)
{{ $answer['label'] }}
{{ $answer['value'] }}
@endforeach
@unless ($order->isRobuxOrder())
Nama
{{ $order->customer_name }}
@endunless
WhatsApp
{{ $order->customer_whatsapp }}
@if (filled($order->customer_email))
Email
{{ $order->customer_email }}
@endif
@if ($order->isRobuxOrder())
Jumlah Robux
{{ number_format($order->robuxAmount() ?? 0, 0, ',', '.') }} Robux
@elseif ($order->isBatch())
Jumlah
{{ $order->quantity }}
{{ strtolower(\App\Models\Product::unitLabelForType($order->productType())) }}
@endif
Harga
Rp {{ number_format($order->price_at_order, 0, ',', '.') }}
@if ($order->discount_amount > 0)
Voucher
{{ $order->voucher_code_snapshot }}
Diskon
- Rp {{ number_format($order->discount_amount, 0, ',', '.') }}
Total Setelah Diskon
Rp {{ number_format($order->payableAmount(), 0, ',', '.') }}
@endif
Payment Gateway
{{ $order->paymentGatewayLabel() }}
Biaya Pembayaran
{{ $order->fee_payer === 'seller' ? 'Toko' : 'Pembeli' }}
@if ($order->qris_fee !== null)
Fee QRIS
Rp {{ number_format($order->qris_fee, 0, ',', '.') }}
@endif
@if ($order->qris_total_payment !== null)
Total Dibayar Customer
Rp {{ number_format($order->qris_total_payment, 0, ',', '.') }}
@endif
@if ($order->payment_reference)
Reference Gateway
{{ $order->payment_reference }}
@endif