{{-- Place & Customer Selection --}}
{{ $this->form }}
@if($this->selectedPlaceId && $this->selectedCustomerId) {{-- Customer Info --}} @if($this->customerName)

{{ __('admin.MiniShop.customer') }}

{{ $this->customerName }}

{{ __('admin.MiniShop.wallet_balance') }}

{{ number_format($this->customerWalletBalance ?? 0, 2) }} {{ __('admin.MiniShop.credits') }}

@endif
{{-- Product Catalog --}}

{{ __('admin.MiniShop.products') }}

@php $products = $this->getProducts(); @endphp @forelse($products as $product)

{{ $product['name'] }}

@if(count($product['variations']) === 0)

{{ __('admin.MiniShop.no_variations') }}

@else
@foreach($product['variations'] as $variation)
{{ $variation['label'] }}
{{ __('admin.MiniShop.price') }}: {{ $variation['price'] }} {{ __('admin.MiniShop.stock') }}: {{ $variation['stock'] }}
@endforeach
@endif
@empty

{{ __('admin.MiniShop.no_products') }}

@endforelse
{{-- Cart --}}

{{ __('admin.MiniShop.cart') }}

@if(count($this->cartItems) === 0)

{{ __('admin.MiniShop.cart_empty') }}

@else
@foreach($this->cartItems as $item)

{{ $item['product_name'] }}

{{ $item['variation_label'] }}

{{ __('admin.MiniShop.qty') }}: {{ $item['quantity'] }} x {{ $item['unit_price'] }}

{{ $item['line_total'] }}
@endforeach
{{-- Total --}}
{{ __('admin.MiniShop.total') }} {{ $this->cartTotal }} {{ $this->cartCurrency }}
{{-- Payment Buttons --}}
@if($this->pendingPaymentLink)

Ready to share ({{ $this->pendingPaymentMethod === 'stripe' ? 'Stripe' : 'Crypto' }})

Open link
@if($this->pendingPaymentQrCodeDataUrl)
Payment QR code
@endif
@endif @endif
@elseif($this->selectedPlaceId)

{{ __('admin.MiniShop.select_customer') }}

@else

{{ __('admin.MiniShop.select_place') }}

@endif