@extends('layouts.userLayout') @section('content')
@include('user.dashboard.sidebar')

My Transactions

    @include('user.transaction.filters')
@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
@if(!empty($listing->items())) @include('user.transaction.listingLoop') @else @endif
Transactions id Payment type Amount Date Status
No records found!
@include('frontend.partials.pagination', ["pagination" => $listing])
@include('user.profile.addCard') @include('user.profile.changeCard') @endsection