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

{{ __('Profile Settings') }}

{{ __('delete Account') }} @if ($basic_settings->user_pin_verification == true) {{ __('Setup PIN') }} @endif
@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), ])
+{{ auth()->user()->mobile_code }}
registered_by == global_const()::PHONE ? 'readonly' : '' }}>
registered_by == global_const()::EMAIL ? 'readonly' : '' }}>
@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 ?? ''), ])
@include('admin.components.form.input', [ 'label' => __('address'), 'name' => 'address', 'placeholder' => __('enter Address'), 'value' => old('address', auth()->user()->address->address ?? ''), ])

{{ __('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('user.components.profile.kyc', compact('kyc_data'))
@endsection @push('script') @endpush