@extends('layout.template') @section('content') @php $data = App\Models\Donation::where('member_id', Session::get('user')->id)->get(); @endphp

Donation Details

@if(Session::has('success'))
{{Session::get('success')}}
{{ Session::flash('alert-success', 'success') }} @endif @if(Session::has('fail'))
{{Session::get('fail')}}
@endif @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @if(!empty($data))
₹{{totalDonationPaidByMembers(Session::get('user')->id)}}

Payment History

Sl.no Paid amount PAID DATE Receipt Status
×
@else
No records has been added yet.
Add a new record by simpley clicking the button on top right side.
@endif
@if(!empty($data)) @endif @endsection