@extends('layouts.adminapp') @section('title') {{ __('lng.ReceiptVoucher') }} - {{ __('lng.Print') }} @endsection @section('active_report', 'active') @section('open_report', 'open') @section('open_voucher', 'open') @section('active_voucher', 'active') @section('receipt_voucher', 'active') @section('content')

{{ __('lng.Print') }}

@include('PrintHeader.header')

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

{{ __('lng.FromDate') }}: {{ date('d-m-Y', strtotime($From)) }}, {{ __('lng.ToDate') }}: {{ date('d-m-Y', strtotime($To)) }}, {{__('lng.VoucherType')}}: {{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