@extends('layouts.landing') @section('title', 'Donation') @section('content')
s/n | Payment Reference | Amount | Donation | Payment Status | Payment Date |
---|---|---|---|---|---|
{{$transaction_no}} | @php $transaction_no++ @endphp{{$transaction->reference}} | ₦{{number_format($transaction->amount, 2)}} | @php $package = App\Models\Package::where('id', $transaction->payment_reference_id)->first(); $donation = App\Models\Donation::where('id', $transaction->payment_reference_id)->first(); @endphp@if($transaction->payment_type == 'subscription') {{$package->name}} @else {{$donation->title}} @endif | {{$transaction->status}} | {{\Carbon\Carbon::parse($transaction->created_at)->toFormattedDateString()}} |