@extends('backend.app') @section('title', 'Payment Details') @section('content') {{-- PAGE-HEADER --}}
| User Name | {{ $data->user->name ?? ' ' }} |
|---|---|
| Plan Name | {{ $data->plan->title ?? ' ' }} |
| Product Name | {{ $data->plan->type ?? ' ' }} |
| Product Id | {{ $data->plan->stripe_product_id ?? ' ' }} |
| Price Id | {{ $data->plan->stripe_price_id ?? ' ' }} |
| Session Id | {{ $data->stripe_id ?? ' ' }} |
| Subscription Starts | {{ $data->created_at->diffForHumans() ?? ' ' }} |
| Subscription Ends | {{ $data->ends_at ? \Carbon\Carbon::parse($data->ends_at)->format('d-m-Y') : ($data->trial_ends_at ? \Carbon\Carbon::parse($data->trial_ends_at)->format('d-m-Y') : 'N/A') }} |
| Status | @if ($data->stripe_status== 'succeed') Paid @else {{ ucfirst($data->stripe_status) }} @endif |
| Updated At | @if ($data->updated_at) {{ $data->updated_at->diffForHumans() }} @else @endif |