{{-- Shared customer fields (customer page + quick-create dialog in the work order form). Variables: $prefix Livewire Form property name (default "form") $formData the CustomerFormData instance (defaults to $form) $organizations ulid => name (empty when the organization is not selectable) $sellers ulid => label $sellerLocked bool (seller logins always own their customers) $lockedSellerName ?string --}} @php $p = $prefix ?? 'form'; $f = $formData ?? $form; @endphp @if ($organizations) @endif
Customer type
@foreach (\App\Enums\CustomerType::cases() as $type) @endforeach
@if ($f->customer_type === 'business') @endif
@if ($sellerLocked)

{{ $lockedSellerName ?? '—' }}

@else @endif
@if ($f->separate_mailing) @endif