@extends($activeTheme.'layouts.app') @section('title', ___('Transactions')) @section('active_menu', 'transactions') @section('content') @forelse($transactions as $transaction) @empty @endforelse
{{ ___('ID') }} {{ ___('Title') }} {{ ___('Price') }} {{ ___('Payment Method') }} {{ ___('Date') }} {{ ___('Status') }} {{ ___('Invoice') }}
#{{ $transaction->id }} {{ $transaction->transaction_description }} {{ price_symbol_format($transaction->amount) }} {{ $transaction->transaction_gatway ? ucfirst($transaction->transaction_gatway) : '-' }} {{ date_formating($transaction->created_at) }} @if ($transaction->status == \App\Models\Transaction::STATUS_SUCCESS) @if ($transaction->amount > 0) {{ ___('Paid') }} @else {{ ___('Done') }} @endif @elseif($transaction->status == \App\Models\Transaction::STATUS_PENDING) {{ ___('Pending') }} @else {{ ___('Cancelled') }} @endif @if ($transaction->status == \App\Models\Transaction::STATUS_SUCCESS && $transaction->amount > 0) @else - @endif
{{ ___('No Data Found') }}
{{ $transactions->links($activeTheme.'pagination/default') }} @endsection