@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") }}
@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 }}
@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) ])

{{ __("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