@csrf()
 
{!! view_render_event('bagisto.admin.customer.edit.form.before', ['customer' => $customer]) !!}
@{{ errors.first('first_name') }}
{!! view_render_event('bagisto.admin.customer.edit.first_name.after', ['customer' => $customer]) !!}
@{{ errors.first('last_name') }}
{!! view_render_event('bagisto.admin.customer.edit.last_name.after', ['customer' => $customer]) !!}
@{{ errors.first('email') }}
{!! view_render_event('bagisto.admin.customer.edit.email.after', ['customer' => $customer]) !!}
@{{ errors.first('gender') }}
{!! view_render_event('bagisto.admin.customer.edit.gender.after', ['customer' => $customer]) !!}
@{{ errors.first('status') }}
{!! view_render_event('bagisto.admin.customer.edit.status.after', ['customer' => $customer]) !!}
@{{ errors.first('is_suspended') }}
{!! view_render_event('bagisto.admin.customer.edit.is_suspended.after', ['customer' => $customer]) !!}
@{{ errors.first('date_of_birth') }}
{!! view_render_event('bagisto.admin.customer.edit.date_of_birth.after', ['customer' => $customer]) !!}
@{{ errors.first('phone') }}
{!! view_render_event('bagisto.admin.customer.edit.phone.after', ['customer' => $customer]) !!}
@if (! is_null($customer->customer_group_id)) @php $selectedCustomerOption = $customer->group->id @endphp @else @php $selectedCustomerOption = '' @endphp @endif
{!! view_render_event('bagisto.admin.customer.edit.form.after', ['customer' => $customer]) !!}