@extends('layouts.adminapp') @section('content') {{-- Donation --}}

{{$Voucher->title}}

{{$Voucher->title}} {{__('lng.Table')}}
{{__('lng.CreateNew')}}
@if ($SearchResult) @php echo $SearchResult @endphp @else
@php $si=0; @endphp @foreach($Donations as $Donation) @php $DTs = date("d-m-Y",strtotime($Donation->date)); @endphp @endforeach
{{__('lng.SiNo')}} {{__('lng.Date')}} {{__('lng.Head')}} {{__('lng.Invoice')}} {{__('lng.Member')}} {{__('lng.Amount')}} {{__('lng.Contact')}} {{__('lng.Narration')}} {{__('lng.Action')}}
{{++$si}}{{$DTs}} {{$Donation->payhead->title}} {{$Donation->invoicenumber}} {{$Donation->member->name ?? $Donation->name}} @currency($Donation->amount) {{$Donation->member->contact ?? $Donation->phone}} {{$Donation->narration}}
@csrf @method('delete')

{{$Donations->Count()}} {{__('lng.Items')}}

@endif
@endsection