@extends('layouts.admin') @php $profile=asset(Storage::url('uploads/avatar/')); @endphp @section('page-title') {{__('Profile Account')}} @endsection @section('content')

{{$userDetail->name}}

{{$userDetail->type}}
{{$userDetail->email}}
{{Form::model($userDetail,array('route' => array('vender.update.profile'), 'method' => 'post', 'enctype' => "multipart/form-data"))}}
{{Form::label('name',__('Name'),array('class'=>'form-label'))}} {{Form::text('name',null,array('class'=>'form-control font-style','placeholder'=>__('Enter User Name')))}} @error('name') {{ $message }} @enderror
{{Form::label('email',__('Email'),array('class'=>'form-label'))}} {{Form::text('email',null,array('class'=>'form-control','placeholder'=>__('Enter User Email')))}} @error('email') {{ $message }} @enderror
{{Form::label('contact',__('Contact'),array('class'=>'form-label'))}} {{Form::text('contact',null,array('class'=>'form-control','placeholder'=>__('Enter User Contact')))}} @error('contact') {{ $message }} @enderror
@if(!$customFields->isEmpty())
@include('customFields.formBuilder')
@endif

{{Form::close()}}
{{Form::model($userDetail,array('route' => array('vender.update.billing.info'), 'method' => 'post'))}}
{{Form::label('billing_name',__('Billing Name'),array('class'=>'form-label'))}} {{Form::text('billing_name',null,array('class'=>'form-control','placeholder'=>__('Enter Billing Name')))}} @error('billing_name') {{ $message }} @enderror
{{Form::label('billing_phone',__('Billing Phone'),array('class'=>'form-label'))}} {{Form::text('billing_phone',null,array('class'=>'form-control','placeholder'=>__('Enter Billing Phone')))}} @error('billing_phone') {{ $message }} @enderror
{{Form::label('billing_zip',__('Billing Zip'),array('class'=>'form-label'))}} {{Form::text('billing_zip',null,array('class'=>'form-control','placeholder'=>__('Enter Billing Zip')))}} @error('billing_zip') {{ $message }} @enderror
{{Form::label('billing_country',__('Billing Country'),array('class'=>'form-label'))}} {{Form::text('billing_country',null,array('class'=>'form-control','placeholder'=>__('Enter Billing Country')))}} @error('billing_country') {{ $message }} @enderror
{{Form::label('billing_state',__('Billing State'),array('class'=>'form-label'))}} {{Form::text('billing_state',null,array('class'=>'form-control','placeholder'=>__('Enter Billing State')))}} @error('billing_state') {{ $message }} @enderror
{{Form::label('billing_city',__('Billing City'),array('class'=>'form-label'))}} {{Form::text('billing_city',null,array('class'=>'form-control','placeholder'=>__('Enter Billing City')))}} @error('billing_city') {{ $message }} @enderror
{{Form::label('billing_address',__('Billing Address'),array('class'=>'form-label'))}} {{Form::textarea('billing_address',null,array('class'=>'form-control','rows'=>3,'placeholder'=>__('Enter Billing Address')))}} @error('billing_address') {{ $message }} @enderror
{{Form::close()}}
{{Form::model($userDetail,array('route' => array('vender.update.shipping.info'), 'method' => 'post'))}}
{{Form::label('shipping_name',__('Shipping Name'),array('class'=>'form-label'))}} {{Form::text('shipping_name',null,array('class'=>'form-control','placeholder'=>__('Enter Shipping Name')))}} @error('shipping_name') {{ $message }} @enderror
{{Form::label('shipping_phone',__('Shipping Phone'),array('class'=>'form-label'))}} {{Form::text('shipping_phone',null,array('class'=>'form-control','placeholder'=>__('Enter Shipping Phone')))}} @error('shipping_phone') {{ $message }} @enderror
{{Form::label('shipping_zip',__('Shipping Zip'),array('class'=>'form-label'))}} {{Form::text('shipping_zip',null,array('class'=>'form-control','placeholder'=>__('Enter Shipping Zip')))}} @error('shipping_zip') {{ $message }} @enderror
{{Form::label('shipping_country',__('Shipping Country'),array('class'=>'form-label'))}} {{Form::text('shipping_country',null,array('class'=>'form-control','placeholder'=>__('Enter Shipping Country')))}} @error('shipping_country') {{ $message }} @enderror
{{Form::label('shipping_state',__('Shipping State'),array('class'=>'form-label'))}} {{Form::text('shipping_state',null,array('class'=>'form-control','placeholder'=>__('Enter Shipping State')))}} @error('shipping_state') {{ $message }} @enderror
{{Form::label('shipping_city',__('Shipping City'),array('class'=>'form-label'))}} {{Form::text('shipping_city',null,array('class'=>'form-control','placeholder'=>__('Enter Shipping City')))}} @error('shipping_city') {{ $message }} @enderror
{{Form::label('shipping_address',__('Shipping Address'),array('class'=>'form-label'))}} {{Form::textarea('shipping_address',null,array('class'=>'form-control','rows'=>3,'placeholder'=>__('Enter Shipping Address')))}} @error('shipping_address') {{ $message }} @enderror
{{Form::close()}}
{{Form::model($userDetail,array('route' => array('vender.update.password',$userDetail->id), 'method' => 'post'))}}
{{Form::label('current_password',__('Current Password'),array('class'=>'form-label'))}} {{Form::password('current_password',array('class'=>'form-control','placeholder'=>__('Enter Current Password')))}} @error('current_password') {{ $message }} @enderror
{{Form::label('new_password',__('New Password'),array('class'=>'form-label'))}} {{Form::password('new_password',array('class'=>'form-control','placeholder'=>__('Enter New Password')))}} @error('new_password') {{ $message }} @enderror
{{Form::label('confirm_password',__('Re-type New Password'),array('class'=>'form-label'))}} {{Form::password('confirm_password',array('class'=>'form-control','placeholder'=>__('Enter Re-type New Password')))}} @error('confirm_password') {{ $message }} @enderror
{{Form::close()}}
@endsection