@foreach($all_subscriptions as $sub) @endforeach @if($all_subscriptions->isEmpty()) @endif
{{ __('Type') }} {{ __('Price') }} {{ __('Connect') }} {{ __('Payment Gateway') }} {{ __('Payment Status') }} {{ __('Status') }} {{ __('Purchase Date') }} {{ __('Expire Date') }}
{{ $sub->subscription?->subscription_type?->type }} {{ float_amount_with_currency_symbol($sub->price) }} {{ $sub->limit }} @if($sub->payment_gateway == 'manual_payment') {{ ucfirst(str_replace('_', ' ', $sub->payment_gateway)) }} @else {{ $sub->payment_gateway == 'authorize_dot_net' ? __('Authorize.Net') : ucfirst($sub->payment_gateway) }} @endif @if($sub->payment_status == '' || $sub->payment_status == 'cancel') {{ __('Cancel') }} @else {{ ucfirst($sub->payment_status) }} @endif @if($sub->status == 0) {{ __('Inactive') }} @else @if(Carbon\Carbon::parse($sub->expire_date) > Carbon\Carbon::now()) {{ __('Active') }} @else {{ __('Expired') }} @endif @endif {{ $sub->created_at->format('Y-m-d') ?? '' }} {{ Carbon\Carbon::parse($sub->expire_date)->format('Y-m-d') }}
{{ __('No subscription history found.') }}