User Name: |
{{ $user->first_name .' '. $user->last_name }} |
User Email: |
{{ $user->email }} |
User Existing Plan: |
{{ $user->currentActivePlan ? ucfirst($user->currentActivePlan->upgrade_history) : '-' }} |
User Current Plan: |
{{ $user->currentActivePlan ? ucfirst($user->currentActivePlan->subscription_type).' '.ucfirst($user->currentActivePlan->plan) : '-' }} |
Subscription Charge / Refund Details
@if(count($user->currentActivePlan->upgradeDowngradeHistory))
Subscription ID |
Transaction Type |
Amount |
Payment Status |
Paid Date |
Transaction Ref. Number |
Request Date |
Action |
@foreach($user->currentActivePlan->upgradeDowngradeHistory as $data)
{{ $user->currentActivePlan->sub_id }} |
{{ ucfirst($data->transaction_type) }} |
{{ $data->currency }} {{ $data->amount }} |
@if($data->is_paid == 0)
UNPAID
@else
PAID
@endif
| {{ $data->paid_at ? $data->paid_at : '-'}} |
{{ $data->transaction_ref_number ? $data->transaction_ref_number : '-' }} |
{{ $data->created_at }} |
Update |
@endforeach
@endif