@php $detectedPhoneCode = (new \App\Models\User())->getPhoneCodeFromIp(); $defaultPhoneCode = $detectedPhoneCode ?? (restaurant()->country->phonecode ?? null) ?? (restaurant()->phone_code ?? null); @endphp

@lang('modules.customer.addCustomer')

@lang('modules.customer.searchOrCreate')

@csrf

@lang('modules.customer.searchCustomer')

@lang('modules.customer.customerDetails')

@lang('modules.customer.searchOrCreate')
{{-- Plain button so id stays on the clickable element (Jetstream cancel + Livewire can interfere with POS modal). --}} {{-- Plain submit button (no Livewire wire:*): POS modal sits outside Livewire roots but Jetstream x-button adds wire:loading and can break AJAX submit / cause full page reload. --}}