@extends('layouts.admin') @section('title') {{__('Account settings')}} @endsection @push('theme-script') @endpush @php $logo=\App\Models\Utility::get_file('/'); @endphp @push('css') @endpush @section('content')
{{__('Basic')}}

{{__('Details about your personal information')}}

{{__('Security')}}

{{__('Details about your personal information')}}

@if(\Auth::user()->type == 'owner')
{{__('Billing')}}

{{__('Details about your plan & purchase')}}

@endif
@if($user->avatar) @else img_avatar }}> @endif
{{ $user->name }}
{{ Form::open(['route' => ['update.profile'],'enctype'=>'multipart/form-data','id' => 'update_avatar']) }} {{ Form::close() }}
{{__('Basic Setting')}}
{{ Form::open(['route' => ['update.profile'],'id' => 'update_profile']) }}
{{ Form::label('name', __('Name'),['class' => 'form-control-label']) }} {{ Form::text('name', $user->name, ['class' => 'form-control','required'=>'required','placeholder' => __('Enter your name')]) }}
{{ Form::label('email', __('Email'),['class' => 'form-control-label']) }} {{ Form::email('email', $user->email, ['class' => 'form-control','required'=>'required']) }} {{__("This is the main email address that we'll send notifications.")}}
{{ Form::label('dob', __('Birthday'),['class' => 'form-control-label']) }} {{ Form::date('dob', $user->dob, ['class' => 'form-control','required' => 'required','placeholder' => __('Select your birthdate')]) }}
{{ Form::select('gender', ['female' => __('Female'),'male' => __('Male')],$user->gender, ['class' => 'form-control']) }}
{{ Form::label('phone', __('Phone'),['class' => 'form-control-label']) }} {{ Form::text('phone', $user->phone, ['class' => 'form-control','required'=>'required']) }}

{{ Form::label('facebook', __('Facebook'),['class' => 'form-control-label']) }} {{ Form::text('facebook', $user->facebook, ['class' => 'form-control']) }}
{{ Form::label('whatsapp', __('WhatsApp'),['class' => 'form-control-label']) }} {{ Form::text('whatsapp', $user->whatsapp, ['class' => 'form-control']) }}
{{ Form::label('instagram', __('Instagram'),['class' => 'form-control-label']) }} {{ Form::text('instagram', $user->instagram, ['class' => 'form-control']) }}
{{ Form::label('likedin', __('Linkedin'),['class' => 'form-control-label']) }} {{ Form::text('likedin', $user->likedin, ['class' => 'form-control']) }}
{{ Form::label('skills', __('Skills'),['class' => 'form-control-label']) }} {{ __('Seprated By Comma') }} {{ Form::text('skills', $user->skills, ['class' => 'form-control','data-toggle' => 'tags','placeholder' => __('Type here...'),]) }}

{{ Form::hidden('from','profile') }}
{{ Form::close() }}
{{__('Security Setting')}}
{{ Form::open(['route' => ['update.profile'],'id' => 'update_profile']) }}
{{ Form::label('old_password', __('Old Password'),['class' => 'form-control-label']) }} {{ Form::password('old_password', ['class' => 'form-control','required'=>'required','placeholder' => __('Enter your old password')]) }}
{{ Form::label('password', __('Password'),['class' => 'form-control-label']) }} {{ Form::password('password', ['class' => 'form-control','required'=>'required','placeholder' => __('Enter your new password')]) }}
{{ Form::label('password_confirmation', __('Confirm Password'),['class' => 'form-control-label']) }} {{ Form::password('password_confirmation', ['class' => 'form-control','required'=>'required','placeholder' => __('Enter your confirm password')]) }}

{{ Form::hidden('from','password') }}
{{ Form::close() }}
@if(\Auth::user()->type != 'admin')
@include('plans.planlist',['size'=>'6','paymentSetting'=>\App\Models\Utility::getPaymentSetting()])
@endif
@if($orders->count() > 0) @foreach($orders as $order) @endforeach @else @endif
{{__('Order Id')}} {{__('Name')}} {{__('Plan Name')}} {{__('Price')}} {{__('Status')}} {{__('Type')}} {{__('Date')}} {{__('Coupon')}} {{__('Invoice')}}
{{$order->order_id}} {{$order->user_name}} {{$order->plan_name}} {{(isset($payment_setting['currency']) ? $payment_setting['currency'] : '$')}} {{number_format($order->price)}} @if($order->payment_status == 'succeeded' || $order->payment_status == 'approved') {{ucfirst($order->payment_status)}} @else {{ucfirst($order->payment_status)}} @endif {{$order->payment_type}} {{$order->created_at->format('d M Y')}} {{!empty($order->use_coupon)?$order->use_coupon->coupon_detail->name:'-'}} @if($order->receipt =='free coupon')

{{__('Used 100 % discount coupon code.')}}

@elseif(!empty($order->receipt)) @else {{'-'}} @endif
{{__('No Orders Found.')}}
@endsection @push('script') @endpush