@php use App\Libraries\FileSystem; @endphp @extends('layouts.userLayout') @section('content')
@include('user.dashboard.sidebar')
{{ csrf_field() }}

My Profile

@include('user.partials.flash_messages')

Photo

...
@if($user->stripe_card_id)
@if (str_contains($user->card_type, 'Visa')) ... @elseif(str_contains($user->card_type, 'UnionPay')) ... @elseif(str_contains($user->card_type, 'Discover')) ... @elseif(str_contains($user->card_type, 'Japan')) ... @elseif(str_contains($user->card_type, 'MasterCard')) ... @elseif(str_contains($user->card_type, 'Mastercard')) ... @elseif(str_contains($user->card_type, 'American')) ... @else ... @endif

*************{{ $user->card }}

Expires

{{ $user->holder_name }}

{{ $user->exp_month }}/{{ $user->exp_year }}

...
@else

Add card

...
@endif @if($user->membership_id)
@if($user->membership_id && strtotime($user->membership_expire) >= strtotime(date('Y-m-d'))) {{ $user->membership_title }} @else {{ $user->membership_title }} Renew @endif

Date of purchase

{{ date('d/m/Y',strtotime($user->membership_date)) }}

Expire Date

{{ date('d/m/Y',strtotime($user->membership_expire)) }}
@else @endif
@error('first_name') @enderror
@error('last_name') @enderror
@error('user_type') @enderror
user_type) && $user->user_type == 'seller') style="display:block" @endif>
* @error('seller_id') @enderror
user_type) && $user->user_type == 'rbe') style="display:block" @endif>
* @error('rbe_number') @enderror
user_type) && $user->user_type == 'rbe') style="display:block" @endif>
* @error('rbe_breeding_bitches') @enderror
user_type) && $user->user_type == 'rco') style="display:block" @endif>
* @error('charitable_number') @enderror
@error('business_name') @enderror
@error('phonenumber') @enderror
@error('email') @enderror
@error('country_id') @enderror
@error('state_id') @enderror
@error('city_id') @enderror
{{-- --}} @error('zipcode') @enderror
@error('address') @enderror
@include('user.profile.addCard') @include('user.profile.changeCard') @endsection