@extends ('backend.layouts.app') @section ('title', __('customer::labels.backend.customer.management') . ' | ' . __('customer::labels.backend.customer.edit')) @section('breadcrumb-links') @include('customer::includes.breadcrumb-links') @endsection @push('after-styles') {{ style("assets/plugins/select2/css/select2.min.css") }} {{ style("assets/plugins/select2/css/select2-bootstrap.min.css") }} {{ style("assets/plugins/bootstrap-datepicker/dist/css/bootstrap-datepicker.css") }} @endpush @section('content') {{ html()->modelForm($customer, 'PATCH', route('admin.customer.update', $customer->id))->class('form-horizontal')->open() }}

{{ __('customer::labels.backend.customer.management') }} {{ __('customer::labels.backend.customer.edit') }}


{{ html()->label(__('customer::labels.backend.customer.table.name').' *')->class('col-md-2 form-control-label')->for('name') }}
{{ html()->text('name') ->class('form-control') ->placeholder(__('customer::labels.backend.customer.table.name')) ->attribute('maxlength', 191) ->required() }}
{{ html()->label(__('customer::labels.backend.customer.table.mobile').' *')->class('col-md-2 form-control-label')->for('mobile') }}
{{ html()->text('mobile') ->class('form-control') ->placeholder(__('customer::labels.backend.customer.table.mobile')) ->attribute('maxlength', 191) ->required() }}
{{ html()->label(__('customer::labels.backend.customer.table.nrc').' *')->class('col-md-2 form-control-label')->for('nrc') }}
{{ html()->text('nrc') ->class('form-control') ->placeholder(__('customer::labels.backend.customer.table.nrc')) ->attribute('maxlength', 191) ->required() }}
{{ html()->label(__('customer::labels.backend.customer.table.dob'))->class('col-md-2 form-control-label')->for('dob') }}
{{ html()->text('dob') ->class('form-control date') ->placeholder(__('customer::labels.backend.customer.table.dob')) ->attribute('maxlength', 191) ->attribute('readonly', true)}}
{{ html()->label(__('customer::labels.backend.customer.table.city').'*')->class('col-md-2 form-control-label')->for('city') }}
{{ html()->label(__('customer::labels.backend.customer.table.township').'*')->class('col-md-2 form-control-label')->for('township') }}
{{ html()->label(__('customer::labels.backend.customer.table.address').' *')->class('col-md-2 form-control-label')->for('address') }}
{{ html()->textarea('address') ->class('form-control') ->placeholder(__('customer::labels.backend.customer.table.address')) ->required() }}
{{ html()->label(__('customer::labels.backend.customer.table.gender').'*')->class('col-md-2 form-control-label')->for('gender') }}
gender == 'Male')?'checked':'' }} name="gender" value="Male">
gender == 'Female')?'checked':'' }} name="gender" value="Female">
gender == 'Other')?'checked':'' }} name="gender" value="Other">
{{ html()->label(__('validation.attributes.backend.access.users.timezone'))->class('col-md-2 form-control-label')->for('timezone') }}

Account Informations

{{ html()->label(__('validation.attributes.backend.access.users.email').' *')->class('col-md-2 form-control-label')->for('email') }}
{{ html()->email('email') ->class('form-control') ->placeholder(__('validation.attributes.backend.access.users.email')) ->attribute('maxlength', 191) ->value($customer->user->email) ->required() }}
{{ html()->closeModelForm() }} @endsection @push('after-scripts') {{ script('assets/plugins/select2/js/select2.full.min.js')}} {{ script("assets/plugins/select2/component/components-select2.js") }} {{ script('assets/plugins/bootstrap-datepicker/dist/js/bootstrap-datepicker.js')}} @endpush