@extends('admin.layout') @section('content')
{{ __('Transaction Id') }} | {{ __('Username') }} | {{ __('Amount') }} | {{ __('Payment Status') }} | {{ __('Payment Method') }} | {{ __('Receipt') }} | {{ __('Actions') }} |
---|---|---|---|---|---|---|
{{ strlen($membership->transaction_id) > 30 ? mb_substr($membership->transaction_id, 0, 30, 'UTF-8') . '...' : $membership->transaction_id }} | @php $vendor = $membership->vendor()->first(); @endphp @if ($vendor) {{ $vendor->username }} @endif | @php $bex = json_decode($membership->settings); @endphp@if ($membership->price == 0) {{ __('Free') }} @else {{ format_price($membership->price) }} @endif |
@if (json_decode($membership->transaction_details) !== 'offline')
@if ($membership->status == 1)
{{ __('Success') }}@elseif ($membership->status == 0){{ __('Pending') }}@elseif ($membership->status == 2){{ __('Rejected') }}@endif @else @endif |
{{ $membership->payment_method }} | @if (!empty($membership->receipt)) {{ __('Show') }} @else - @endif | @if (!empty($membership->name !== 'anonymous')) {{ __('Detail') }} @else - @endif |