Expose the receipt action for standalone or searchkit use
authoreileen <emcnaughton@wikimedia.org>
Tue, 6 Apr 2021 11:07:40 +0000 (23:07 +1200)
committereileen <emcnaughton@wikimedia.org>
Wed, 7 Apr 2021 02:24:14 +0000 (14:24 +1200)
commit813e32efc234f08517c130602ecebf6a32a0819d
tree30593eb0bb64ef777a2d05e6e405305b6858d82e
parent03f3525d43ad9d468ddc392723dc121ec355b089
Expose the receipt action for standalone or searchkit use

Adds controller for id based tasks

Supports a url like https://dmaster.localhost:32353/civicrm/contribute/task?task=receipt&id=40,41

Note the pdf option doesn't work in pop-up mode - to discuss

Also note this exposes it as an action on the contribution results. That's optional. I think it has
been requested / would be useful but it's mostly included to make the page accessible for testing
and to work through the issue around filtering - the action only works on some statuses
CRM/Contribute/Controller/Task.php [new file with mode: 0644]
CRM/Contribute/Form/Task/PDF.php
CRM/Contribute/Selector/Search.php
CRM/Contribute/Task.php
CRM/Contribute/xml/Menu/Contribute.xml
CRM/Core/Controller/Task.php [new file with mode: 0644]