@extends('admin.layouts.master') @push('css') @endpush @section('page-title') @include('admin.components.page-title',['title' => __($page_title)]) @endsection @section('breadcrumb') @include('admin.components.breadcrumb',['breadcrumbs' => [ [ 'name' => __("Dashboard"), 'url' => setRoute("admin.dashboard"), ] ], 'active' => __("Admin Profile")]) @endsection @section('content')
{{ __("Admin Profile") }}
@csrf @method("PUT")
@include('admin.components.form.input-file',[ 'label' => __("Profile Image:"), 'name' => "image", 'class' => "file-holder", 'old_files_path' => files_asset_path('admin-profile'), 'old_files' => $profile->image, ])
@include('admin.components.form.input',[ 'label' => __("first Name")."*", 'name' => 'firstname', 'value' => old('firstname',$profile->firstname), ])
@include('admin.components.form.input',[ 'label' =>__("last Name")."*", 'name' => 'lastname', 'value' => old('lastname',$profile->lastname), ])
@include('admin.components.form.input',[ 'label' => __("Email")."*", 'type' => 'email', 'name' => 'email', 'value' => old('email',$profile->email), 'attribute' => (!auth_is_super_admin()) ? "readonly" : "", ])
@include('admin.components.form.input',[ 'label' => __("phone Number")."*", 'name' => 'phone', 'value' => old('phone',$profile->phone), ])
@php $old_country = old('country',$profile->country); @endphp
@php $old_state = old('state',$profile->state); @endphp
@php $old_city = old('city',$profile->city); @endphp
@include('admin.components.form.input',[ 'label' => __("Zip/Postal"), 'type' => 'text', 'name' => 'zip_postal', 'value' => old('zip_postal',$profile->zip_postal), 'class' => "number-input", ])
@include('admin.components.form.input',[ 'label' => __("address"), 'name' => 'address', 'value' => old('address',$profile->address), ])
@endsection @push('script') @endpush