@extends('layouts.admin') @section('title') User Profile @endsection @section('content') @push('page_style') @endpush

{{"$userObject->full_name"}}

{{ csrf_field() }}
{{--
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
--}}
{{--
--}}
@if ($userObject->seller_type == 2)
@if ($errors->has('company_name')) {{ $errors->first('company_name') }} @endif
@else
@if ($errors->has('first_name')) {{ $errors->first('first_name') }} @endif
@if ($errors->has('last_name')) {{ $errors->first('last_name') }} @endif
@endif @if ($userObject->seller_type ==1)
@if ($errors->has('nick_name')) {{ $errors->first('nick_name') }} @endif
@endif
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
{{-- {{dd(!empty($userObject->phone_verified_at))}} --}}
@if ($errors->has('phone_number')) {{ $errors->first('phone_number') }} @elseif($errors->has('phone_code')) {{ $errors->first('phone_code') }} @elseif($errors->has('iso_code')) {{ $errors->first('iso_code') }} @endif
@php $verificationTimeOut = auth()->user()->phone_verification_timeout; $timestamp = strtotime($verificationTimeOut) + 60*60; $time = date('H:i', $timestamp); $time1 = date('Y-m-d H:i', $timestamp); $mins = (strtotime($time) - strtotime(date('H:i'))) / 60; @endphp
@if ($errors->has('country_id')) {{ $errors->first('country_id') }} @endif
@php if (!empty($company) && ($company->status == \App\Models\CompanyDetail::IS_APPROVED || $company->status == \App\Models\CompanyDetail::STATE_PENDING)){ $userOb=auth()->user(); $timezone = $userOb->getTimezone(); $startdate = Carbon\Carbon::createFromFormat('Y-m-d H:i:s', $company->verified_at, 'UTC'); $startdate->setTimezone($timezone); $startdate = date('Y-m-d / h:i:s', strtotime($startdate)); $endDated = Date('Y-m-d H:i:s', strtotime($company->verified_at . "+1 year")); $endDates = Carbon\Carbon::createFromFormat('Y-m-d H:i:s', $endDated, 'UTC'); $endDates->setTimezone($timezone); $endDates = date('Y-m-d / h:i:s', strtotime($endDates)); } @endphp {{-- @if ((!empty($company) && (($company->status == \App\Models\CompanyDetail::IS_APPROVED) || ($company->status == \App\Models\CompanyDetail::STATE_PENDING)))) --}}
@if (!empty($company) && ($company->status == \App\Models\CompanyDetail::IS_APPROVED))
verify-iconVerified Seller {{$userObject->getVerifyCount->count()}} Year
Starting date : {{$startdate}}
End date : {{$endDates}} @endif @include('user.partials.additional-info') @if (!empty($company) && (($company->status == \App\Models\CompanyDetail::STATUS_SHUFTI_PRO_COMPANY_APPROVE)))

Note:
Your personal verification has been successfully completed. It takes us about 72 hours to confirm ownership of your company. Once the company verification is confirmed, we will send you a notification to your email and you will automatically become a Verified Seller.

@endif

Note:
**
{{__("words.This information is not visible to side users.")}} Ambayo.com {{__("words.needs this information to verify your")}} {{$userObject->isCompanySeller() ? __("words.company"): __("words.profile")}}.

{{-- @endif --}}
{{-- @include('user.partials.verify') --}} @push('page_script') {{-- @if (!empty($company) && ($company->status == \App\Models\CompanyDetail::REJECT)) @endif --}} @if (auth()->user()->isVerifiedSeller()) @endif {{-- --}} @endpush @endsection