human-essentials icon indicating copy to clipboard operation
human-essentials copied to clipboard

4481 Print Individual Donation Receipts

Open mdphillips375 opened this issue 1 year ago • 1 comments

Resolves #4481

Description

Added buttons to donation list rows and donation view page to print PDF receipt of individual donation. PDF is modification of existing distribution receipt.

Type of change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Added and modified sample donation records to provide a variety of types of donations: sources, various states of completeness of contact info, line items, money values.

For some reason rSpec is currently getting hung on my system, so these tests were not run. Only changes made to existing code was adding 2 routes, 2 buttons, and one controller method.

Screenshots

DonationShow DonationRows AllInfoPlusMoney MfgOnlyItems MiscNoItems PartInfoNoItems

Hiding value columns: Hide Not hiding value columns: NoHide

mdphillips375 avatar Jun 28 '24 04:06 mdphillips375

Added zero dollar money raised display and tests.

ZeroDollars

mdphillips375 avatar Jul 01 '24 00:07 mdphillips375

Latest changes pushed.

mdphillips375 avatar Jul 07 '24 18:07 mdphillips375

All things being tested for now have hardcoded values.

mdphillips375 avatar Jul 17 '24 03:07 mdphillips375

Thanks very much!

dorner avatar Jul 19 '24 19:07 dorner

@mdphillips375: Your PR 4481 Print Individual Donation Receipts is part of today's Human Essentials production release: 2024.07.21. Thank you very much for your contribution!

github-actions[bot] avatar Jul 21 '24 14:07 github-actions[bot]