@extends('layouts.adminapp') @section('title') {{$Voucher->title}} @endsection @section('active_register', 'active') @section('open_register', 'open') @section('open_receipt', 'open') @section('active_receipt', 'active') @section('active_receipt_voucher'.$Voucher->title, 'active') @section('content')

{{ $Voucher->title }}

{{ $Voucher->title }} {{ __('lng.Table') }}
@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 }}
date)) type="button" title="{{ __('lng.AccountClosedEdit') }}" @else href="{{ route('ReceiptVoucher.edit', [$Donation->id, $Voucher->title]) }}" title="{{ __('lng.Edit') }}" @endif class="btn btn-wave btn-sm btn-primary-light" data-bs-placement="bottom" data-bs-toggle="tooltip"> @if ($Voucher->isactive)
@csrf @method('delete')
@else @php echo App\Http\Controllers\VoucherTypeController ::VoucherTypeIsActive('DELETED'); @endphp @endif

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

@endif
@endsection