@extends('admin.layouts.master') @section('title', 'Edit User') @section('content')
@csrf
Edit Customer
{{-- first_name --}}
@if ($errors->has('first_name'))

{{ $errors->first('first_name') }}

@endif
{{-- last_name --}}
@if ($errors->has('last_name'))

{{ $errors->first('last_name') }}

@endif
@if ($errors->has('company'))

{{ $errors->first('company') }}

@endif
{{-- email --}}
@if ($errors->has('email'))

{{ $errors->first('email') }}

@endif
{{-- phone --}}
@if ($errors->has('phone'))

{{ $errors->first('phone') }}

@endif
{{-- whatsapp_no --}}
@if ($errors->has('whatsapp_no'))

{{ $errors->first('whatsapp_no') }}

@endif
{{-- image --}}
@if ($errors->has('image'))

{{ $errors->first('image') }}

@endif
{{-- status --}}
@if ($errors->has('status'))

{{ $errors->first('status') }}

@endif
@if ($errors->has('address'))

{{ $errors->first('address') }}

@endif
@foreach($userShippingAddresses as $shippingAddress)
Shipping Address *
is_default == 1 ? 'checked' : '' }}>
Delete
@endforeach
@foreach($userBillingAddresses as $billingAddress)
Billing Address *
is_default == 1 ? 'checked' : '' }}>
Delete
@endforeach
@endsection