@extends('layouts.app') @section('heading', 'New lay-by') @section('subheading', 'Step 1 of 2 · Customer details first, then scan products') @section('actions') Cancel @endsection @section('content')

Customer details

Required before scanning

Enter the customer’s details below, or find an existing customer. You will scan and reserve items on the next screen.

@if($matches->isNotEmpty())
Select customer @foreach($matches as $match)
@csrf
{{ $match->name }}
{{ $match->phone }}@if($match->email) · {{ $match->email }}@endif
@endforeach
@elseif(filled($customerQuery))

No customer found for “{{ $customerQuery }}”. Create a new one below.

@endif
@csrf
@endsection