@extends('admin.layout') @section('content')
@if (count($donations) > 0)
@foreach ($donations as $key => $donation) @endforeach
Donation ID Name Email Phone Event Amount Gateway Payment Status Date
#{{$donation->transaction_id}} {{$donation->name ? $donation->name : '-'}} {{$donation->email ? $donation->email : '-'}} {{$donation->phone ? $donation->phone : '-'}} {{strlen($donation->cause->title) > 20 ? mb_substr($donation->cause->title,0,20,'utf-8') . '...' : $donation->cause->title}} {{$bex->base_currency_symbol_position == 'left' ? $bex->base_currency_symbol : ''}}{{$donation->amount}}{{$bex->base_currency_symbol_position == 'right' ? $bex->base_currency_symbol : ''}} {{$donation->payment_method}} @if ($donation->status == 'Success') Success @elseif ($donation->status == 'Pending') Pending @elseif ($donation->status == 'Rejected') Rejected @endif {{$donation->created_at}}
@endif
@if (!empty($donations)) @endif
@endsection