@extends('user.profile.index') @section('profile-content')

{{ __('Payments') }}

@if (count($payments))
@foreach ($payments as $key => $value) @endforeach
{{ __('SR No') }} {{ __('Plan') }} {{ __('Coupon') }} {{ __('Amount') }} {{ __('Currency') }} {{ __('Type') }} {{ __('Gateway') }} {{ __('Transaction ID') }} {{ __('Status') }} {{ __('Transaction Date') }} {{ __('Invoice') }}
{{ $payments->firstItem() + $loop->index }} {{ $value->plan->name }} {{ $value->coupon ? $value->coupon->name : '-' }} {{ $value->amount }} {{ $value->currency }} {{ ucfirst($value->interval) }} {{ ucfirst($value->gateway) }} {{ $value->payment_id }} {{ ucfirst($value->status) }} {{ $value->created_at->diffForHumans() }}
@else

{{ __('Your payment history will appear here.') }}

@endif
@endsection