@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']) @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']) @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') }}: ${{ number_format($subscription->amount, 2) }}
@if ($subscription?->status === 'canceled'){{ $daysRemaining }} day{{ $daysRemaining == 1 ? '' : 's' }} {{ __('locale.remaining until your plan requires update') }}
{{ __('locale.No cards saved yet.') }}
@endforelse# | {{ __('locale.Amount') }} | {{ __('locale.Status') }} | {{ __('locale.Txn ID') }} | {{ __('locale.Date') }} |
---|---|---|---|---|
{{ $index + 1 }} | {{ $currency }}{{ number_format($txn->amount, 2) }} | {{ ucfirst($txn->status) }} | Txn Date: {{ \Carbon\Carbon::parse($txn->created_at)->format('F j, Y') }} Start: {{ \Carbon\Carbon::parse($txn->start_date)->format('F j, Y') }} |