@extends('user.layout') @section('content')
| {{ __('Transaction Id') }} | {{ __('Package') }} | {{ __('Amount') }} | {{ __('Payment Status') }} | {{ __('Payment Method') }} | {{ __('Receipt') }} | {{ __('Actions') }} |
|---|---|---|---|---|---|---|
@php
$txId = $membership->transaction_id;
$isUpi = strtolower($membership->payment_method) === 'upi' || strtolower($membership->payment_method) === 'offline';
@endphp
@if($isUpi && !empty($txId))
UTR
{{ strlen($txId) > 28 ? mb_substr($txId, 0, 28, 'UTF-8') . '...' : $txId }}
@elseif(!empty($txId))
{{ strlen($txId) > 28 ? mb_substr($txId, 0, 28, 'UTF-8') . '...' : $txId }}
@else
-
@endif
|
@if (!empty($membership->package)) {{ __($membership->package->title) }} {{ __($membership->package->term) }} @endif | @php $bex = json_decode($membership->settings); @endphp@if ($membership->price == 0) Free @else {{ format_price($membership->price) }} @endif |
@if ($membership->status == 1)
{{ __('Success') }}@elseif ($membership->status == 0){{ __('Pending') }}@elseif ($membership->status == 2){{ __('Rejected') }}@endif |
{{ __($membership->payment_method) }} | @if (!empty($membership->receipt)) {{ __('View Receipt') }} @else {{ __('View Receipt') }} @endif | @if (!empty($membership->name !== 'anonymous')) {{ __('Details') }} @else - @endif |