@if(count($subscriptions))
@include('elements/message-alert')
{{__('To')}}
{{__('Status')}}
{{__('Paid with')}}
{{__('Renews')}}
@foreach($subscriptions as $subscription)
@switch($subscription->status) @case('pending') @case('update-needed') @case('canceled') {{ucfirst(__($subscription->status))}} @break @case('completed') {{ucfirst(__($subscription->status))}} @break @case('suspended') @case('expired') {{ucfirst(__($subscription->status))}} @break @endswitch
{{ucfirst($subscription->provider)}}
{{isset($subscription->expires_at) ? ($subscription->status == 'canceled' && $subscription->expires_at < \Carbon\Carbon::now() ? '-' : $subscription->expires_at->format('M d Y')) : ''}}
@endforeach
{{ $subscriptions->links() }}
@else

{{__('There are no active or cancelled subscriptions at the moment.')}}

@endif @include('elements.settings.transaction-cancel-dialog')