@extends($layout_path) @section('title', $app_setting['name'] . ' | ' . __('Transaction List')) @section('header-title')

{{ __('Dns Wise Transactions') }}

@endsection @section('content')
@forelse ($transactions as $transaction) @empty @endforelse
# {{ __('Organization Name') }} {{ __('DNS Plan') }} {{ __('DNS Plan Expiry') }} {{ __('Payment Amount') }} {{ __('Payment Method') }} {{ __('Payment Status') }} {{ __('Paid At') }}
{{ generateID($transactions->firstItem() + $loop->index) }} {{ $transaction->organization?->name }} {{ $transaction->organizationPlan->title ?? 'N/A' }} {{ \Carbon\Carbon::parse($transaction->organization->organizationPlanSubscription->ends_at)->format('d M, Y h:i A') }} @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 == false)
{{ __('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