@extends($layout_path) @section('title', $app_setting['name'] . ' | ' . __('Transaction List')) @section('content')
@forelse ($transactions as $transaction) @empty @endforelse
# {{ __('Organization') }} {{ __('Subscribed Plan Name') }} {{ __('Subscribed Plan Type') }} {{ __('Subscribed Plan Duration') }} {{ __('Payment Amount') }} {{ __('Payment Method') }} {{ __('Payment Status') }} {{ __('Paid At') }}
{{ generateID($loop->iteration) }} {{ $transaction->organization ? $transaction->organization->name : 'N/A' }} {{ $transaction->organizationPlan->title }} {{ $transaction->organizationPlan->plan_type }} {{ $transaction->organizationPlan->plan_type == 'yearly' ? $transaction->organizationPlan->duration . ' ' . 'Yearly' : $transaction->organizationPlan->duration . ' ' . 'Days' }} @if ($transaction->payment_amount != null || $transaction->payable_amount != null) @if ($app_setting['currency_position'] == 'Left') {{ $app_setting['currency_symbol'] }}{{ $transaction->payment_amount ? $transaction->payment_amount : $transaction->payable_amount }} @else {{ $transaction->payment_amount ? $transaction->payment_amount : $transaction->payable_amount }}{{ $app_setting['currency_symbol'] }} @endif @else N/A @endif {{ $transaction->payment_method }} @if (!$transaction->is_paid)
{{ __('Unpaid') }}
@else
{{ __('Paid') }}
@endif
{{ \Carbon\Carbon::parse($transaction->paid_at)->format('d m, Y h:i A') ?? '-' }}
{{ __('No data found') }}
{{ $transactions->links() }}
@endsection @push('scripts') @endpush