@include('admin.layouts.errors')
@if(!isset($user))
@endif
@if(Route::currentRouteName() == 'ch-admin.user.edit') Leave blank to keep the existing one. @endif

Billing Details:

@if(Route::currentRouteName() === 'ch-admin.service.edit') @else @endif
@if(!empty($registrationFields) && $registrationFields->isNotEmpty())

Custom Fields:

@foreach($registrationFields as $regField) @php($metaValue = isset($user) ? ($user->meta->firstWhere('key', $regField->name)?->value ?? '') : '')
@if($regField->type === 'textarea') @elseif($regField->type === 'select') @elseif($regField->type === 'checkbox')
name}", $metaValue) == '1' ? 'checked' : '' }}>
@else name}", $metaValue) }}"> @endif
@endforeach @endif Cancel