@extends('layouts/layoutMaster') @section('title', __('locale.Subscription Profile')) @section('vendor-style') @vite(['resources/assets/vendor/libs/select2/select2.scss', 'resources/assets/vendor/libs/flatpickr/flatpickr.scss', 'resources/assets/vendor/libs/sweetalert2/sweetalert2.scss', 'resources/assets/vendor/scss/pages/page-pricing.scss']) @endsection @section('vendor-script') @vite(['resources/assets/vendor/libs/select2/select2.js', 'resources/assets/vendor/libs/flatpickr/flatpickr.js', 'resources/assets/vendor/libs/sweetalert2/sweetalert2.js', 'resources/assets/js/pages-pricing.js']) @endsection @section('content') @php $currency=Helper::setting('currency_symbol','currency'); @endphp
{{ __('locale.Package') }}: {{ $subscription['package']?->name }}
{{ __('locale.ID') }}: {{ $subscription->stripe_subscription_id }}
{{ __('locale.Status') }}: {{ ucfirst($subscription->status) }}
{{ __('locale.Next Billing Date') }}: {{ \Carbon\Carbon::parse($subscription->next_billing_date)->format('F j, Y') }}
{{ __('locale.Total Amount') }}: {{ $currency }}{{ number_format($subscription->amount, 2) }}
@if ($subscription?->status === 'canceled'){{ __('locale.Your subscription payment is pending. Please complete payment to continue.') }}
{{ $daysRemaining }} day{{ $daysRemaining == 1 ? '' : 's' }} {{ __('locale.remaining until your plan requires update') }}
| # | {{ __('locale.Amount') }} | {{ __('locale.Package') }} | {{ __('locale.Status') }} | {{ __('locale.Txn ID') }} | {{ __('locale.Date') }} |
|---|---|---|---|---|---|
| {{ $index + 1 }} | {{ $currency }}{{ number_format($txn->amount, 2) }} | @php $data = json_decode($txn->package_details, true); @endphp{{ @$data['name'] ?? 'N/A' }} | {{ ucfirst($txn->status) }} |
{{ \Illuminate\Support\Str::limit($txn->txn_id, 35) }} |
Txn Date: {{ \Carbon\Carbon::parse($txn->created_at)->format('F j, Y') }} Start: {{ \Carbon\Carbon::parse($txn->start_date)->format('F j, Y') }} |