@extends('vendors.layout') @section('content')
{{ __('Subscription Log') }}
@if (count($memberships) == 0)

{{ __('NO MEMBERSHIP FOUND') }}

@else
@foreach ($memberships as $key => $membership) @php $bex = json_decode($membership->settings); @endphp @endforeach
{{ __('Transaction Id') }} {{ __('Amount') }} {{ __('Payment Status') }} {{ __('Payment Method') }} {{ __('Receipt') }} {{ __('Actions') }}
{{ strlen($membership->transaction_id) > 30 ? mb_substr($membership->transaction_id, 0, 30, 'UTF-8') . '...' : $membership->transaction_id }} @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)) {{ __('Show') }} @else - @endif @if (!empty($membership->name !== 'anonymous')) {{ __('Detail') }} @else - @endif
@endif
@endsection