@extends('merchant.layouts.master') @push('css') @endpush @section('breadcrumb') @include('merchant.components.breadcrumb',['breadcrumbs' => [ [ 'name' => __("Dashboard"), 'url' => setRoute("merchant.dashboard"), ] ], 'active' => __("profile")]) @endsection @section('content')

{{ __('Profile Settings') }}

{{ __("delete Account") }}
@csrf @method("PUT")
{{ auth()->user()->username }}
@include('admin.components.form.input',[ 'label' => __('first Name')."*", 'name' => "firstname", 'placeholder' => __("enter First Name"), 'value' => old('firstname',auth()->user()->firstname) ])
@include('admin.components.form.input',[ 'label' => __('last Name')."*", 'name' => "lastname", 'placeholder' => __("enter Last Name"), 'value' => old('lastname',auth()->user()->lastname) ])
@include('admin.components.form.input',[ 'label' => __('business Name')."*", 'name' => "business_name", 'placeholder' => __("enter Business Name"), 'value' => old('business_name',auth()->user()->business_name) ])
+{{ auth()->user()->mobile_code }}
@include('admin.components.form.input',[ 'label' => __("address"), 'name' => "address", 'placeholder' => __("enter Address"), 'value' => old('address',auth()->user()->address->address ?? "") ])
@php $old_city = old('city',auth()->user()->address->city ?? ""); @endphp @include('admin.components.form.input',[ 'label' => __("city"), 'name' => "city", 'placeholder' =>__('enter City'), 'value' => old('city', $old_city) ])
@php $old_state = old('state',auth()->user()->address->state ?? ""); @endphp @include('admin.components.form.input',[ 'label' => __("state"), 'name' => "state", 'placeholder' => __('enter State'), 'value' => old('state', $old_state) ])
@include('admin.components.form.input',[ 'label' => __("zip Code"), 'name' => "zip_code", 'placeholder' => __('enter Zip Code'), 'value' => old('zip_code',auth()->user()->address->zip ?? "") ])

{{ __("Change Password") }}

@csrf @method("PUT")
@include('admin.components.form.input',[ 'label' => __("Current Password")."*", 'name' => "current_password", 'type' => "password", 'placeholder' => __("enter Password"), ])
@include('admin.components.form.input',[ 'label' => __("new Password")."*", 'name' => "password", 'type' => "password", 'placeholder' => __("enter Password"), ])
@include('admin.components.form.input',[ 'label' => __("confirm Password")."*", 'name' => "password_confirmation", 'type' => "password", 'placeholder' => __("enter Password"), ])
@include('merchant.components.profile.kyc',compact("kyc_data"))
@endsection @push('script') @endpush