@extends('layouts.app') @section('title', 'Checkout · Primewear POS') @section('heading', 'Checkout') @section('subheading', ($store->name ?? 'No store').' · prices include VAT') @section('contentClass', 'content-checkout') @section('actions') Customer screen @if($store && count($summary['rows']))
@csrf
@endif @endsection @push('head') @if(!empty($offlineConfig)) @vite(['resources/js/offline-pos.js']) @endif @endpush @section('content') @if(!$store)
This account has no store, so checkout is unavailable.
@else
@csrf
@csrf
@if(\App\Models\Setting::bool('offline_mode_enabled') && empty($offlineConfig))
Offline mode is on — choose a checkout counter so this till can cache catalog and sync sales.
@endif
@csrf

Keep the scanner pointed here. Exact barcode matches add to the cart immediately.

@if($results->isNotEmpty())
Search results @foreach($results as $variant)
{{ $variant->label() }}
{{ $variant->sku }} · {{ $variant->barcode }}
{{ money($variant->unitPrice()) }}
@csrf
@endforeach
@elseif(request()->filled('q'))
No products matched “{{ request('q') }}”.
@endif
Customer Optional for a normal sale
@if($customer)
{{ $customer->name }}
{{ $customer->phone }}
@csrf
@else Walk-in customer @endif
@if(request()->filled('q')) @endif
@if($customers->isNotEmpty())
@foreach($customers as $found)
@csrf
@endforeach
@endif
@if(count($summary['rows']))
{{ count($summary['rows']) }} item{{ count($summary['rows']) === 1 ? '' : 's' }} {{ money($summary['total']) }}
Pay
@endif
@csrf
@endif @endsection @push('scripts') @endpush