@extends('layouts.frontend') @section('content')
{{ trans('global.edit') }} {{ trans('cruds.customer.title_singular') }}
id]) }}" enctype="multipart/form-data"> @method('PUT') @csrf
@if($errors->has('name'))
{{ $errors->first('name') }}
@endif {{ trans('cruds.customer.fields.name_helper') }}
@if($errors->has('email'))
{{ $errors->first('email') }}
@endif {{ trans('cruds.customer.fields.email_helper') }}
@if($errors->has('phone'))
{{ $errors->first('phone') }}
@endif {{ trans('cruds.customer.fields.phone_helper') }}
@if($errors->has('identity_card_number'))
{{ $errors->first('identity_card_number') }}
@endif {{ trans('cruds.customer.fields.identity_card_number_helper') }}
approved || old('approved', 0) === 1 ? 'checked' : '' }}>
@if($errors->has('approved'))
{{ $errors->first('approved') }}
@endif {{ trans('cruds.customer.fields.approved_helper') }}
@if($errors->has('dob'))
{{ $errors->first('dob') }}
@endif {{ trans('cruds.customer.fields.dob_helper') }}
@if($errors->has('image'))
{{ $errors->first('image') }}
@endif {{ trans('cruds.customer.fields.image_helper') }}
@if($errors->has('shipping_address'))
{{ $errors->first('shipping_address') }}
@endif {{ trans('cruds.customer.fields.shipping_address_helper') }}
@if($errors->has('state'))
{{ $errors->first('state') }}
@endif {{ trans('cruds.customer.fields.state_helper') }}
@if($errors->has('city'))
{{ $errors->first('city') }}
@endif {{ trans('cruds.customer.fields.city_helper') }}
@if($errors->has('password'))
{{ $errors->first('password') }}
@endif {{ trans('cruds.customer.fields.password_helper') }}
{{ trans('global.select_all') }} {{ trans('global.deselect_all') }}
@if($errors->has('roles'))
{{ $errors->first('roles') }}
@endif {{ trans('cruds.customer.fields.roles_helper') }}
@if($errors->has('status'))
{{ $errors->first('status') }}
@endif {{ trans('cruds.customer.fields.status_helper') }}
@endsection @section('scripts') @endsection