@extends('admin.layout') @php $selLang = \App\Language::where('code', request()->input('language'))->first(); @endphp @if(!empty($selLang) && $selLang->rtl == 1) @section('styles') @endsection @endif @section('content')
Donation History
@if (!empty($langs)) @endif
@if (count($donations) == 0)

NO Donation FOUND

@else
@foreach ($donations as $key => $donation) @endforeach
Transaction ID Amount Payment Status Payment Method Receipt Actions
{{convertUtf8(strlen($donation->transaction_id)) > 30 ? convertUtf8(substr($donation->transaction_id, 0, 30)) . '...' : convertUtf8($donation->transaction_id)}} {{$donation->currency_symbol . ' ' . convertUtf8($donation->amount)}} @if(json_decode($donation->transaction_details) !== "offline") @if ($donation->status == 'Pending') Pending @elseif ($donation->status == 'Success') Success @endif @else
@csrf
@endif
{{convertUtf8($donation->payment_method)}} @if (!empty($donation->receipt)) Show @else - @endif @if (!empty($donation->name !== "anonymous")) Detail @else @endif
@csrf
@endif
@endsection @section('scripts') @endsection