@extends('backend.admin-master') @section('style') @endsection @section('site-title') {{__('All Donation Logs')}} @endsection @section('content')

{{__('All Donation Logs')}}

@foreach($all_donation_logs as $data) @endforeach
{{__('ID')}} {{__('Payer Name')}} {{__('Payer Email')}} {{__('Donation Name')}} {{__('Donated Amount')}} {{__('Payment Gateway')}} {{__('Status')}} {{__('Date')}} {{__('Action')}}
{{$data->id}} {{$data->name}} {{$data->email}} @if(!empty($data->donation)) {{$data->donation->title}} @else
{{__('This Donation Is not available or Removed')}}
@endif
{{amount_with_currency_symbol($data->amount)}} {{ucwords(str_replace('_',' ',$data->payment_gateway))}} @if($data->status == 'pending') {{__($data->status)}} @else {{__($data->status)}} @endif {{date_format($data->created_at,'d M Y')}} donation)) data-donation_name="{{$data->donation->title}}" @endif data-donate_amount="{{site_currency_symbol()}}{{$data->amount}}" data-payment_gateway="{{ucwords(str_replace('_',' ',$data->payment_gateway))}}" data-transaction_id="{{$data->transaction_id}}" data-status="{{$data->status}}" data-date="{{date_format($data->created_at,'d M Y')}}" class="btn btn-xs btn-primary btn-sm mb-3 mr-1 view_quote_details_btn" > @if($data->payment_gateway === 'manual_payment' && $data->status === 'pending') @endif @if(!empty($data->donation) && $data->status === 'complete')
@csrf
@endif @if(!empty($data->user_id) && $data->status === 'pending')
@csrf
@endif @if(!empty($data->manual_payment_attachment)) {{__('View Attachment')}} @endif
@endsection @section('script') @endsection