@extends('layouts.admin') @section('title','Customer form') @section('admin-content')
CUSTOMER ENTRY

Customer form.

Add extra questions to the purchase claim form. Changes apply to new submissions.

Protected fields

Name, email, purchase code, campaign terms, email verification and optional marketing consent keep the campaign working. Mobile number and cat’s name remain optional.

Removed questions disappear from the form. Previously collected answers remain in player details.

@foreach($fields as $field)
any() && (string)old("editing_field") === (string)$field->id) open @endif class="panel" style="padding:20px;margin-bottom:12px">{{ $field->label }} · {{ ucfirst($field->type) }} · {{ $field->required ? 'Required' : 'Optional' }}
@csrf @method('PUT') @include('admin.partials.customer-field',['field'=>$field])
@csrf @method('DELETE')
@endforeach

Add a question

@csrf @include('admin.partials.customer-field',['field'=>null])
@endsection