@extends('layouts.adminapp') @section('content')
@include('PrintHeader.header')

{{App\Models\VoucherType::find($VoucherTypeID)->title ?? ''}}

@php $si=$Total=0; @endphp @foreach ($Donations as $Donation) @php $DTs = date("F-d-Y",strtotime($Donation->date));@endphp @php $Total+=$Donation->amount; @endphp @endforeach
{{ __('lng.Invoice') }} {{ __('lng.Date') }} {{ __('lng.Name') }} {{ __('lng.Ledger') }} {{ __('lng.Head') }} {{ __('lng.Amount') }}
{{ $Donation->invoicenumber }} {{ $DTs }} @if ($Donation->isGuest) {{$Donation->name ?? ''}} @else {{$Donation->member->name ?? ''}} @endif {{$Donation->Ledger->title ?? ''}} {{$Donation->payhead->title}} @currency($Donation->amount ?? '0')
{{ __('lng.Total') }} @currency($Total)
{{__('lng.Back')}}
@endsection