I can't see any way to call this over than from search so I think this is from
copy & paste from invoice which DOES support id
* Build all the data structures needed to build the form.
*/
public function preProcess() {
- $id = CRM_Utils_Request::retrieve('id', 'Positive',
- $this, FALSE
- );
-
- if ($id) {
- $this->_contributionIds = [$id];
- $this->_componentClause = " civicrm_contribution.id IN ( $id ) ";
- $this->_single = TRUE;
- $this->assign('totalSelectedContributions', 1);
- }
- else {
- parent::preProcess();
- }
-
+ parent::preProcess();
// check that all the contribution ids have pending status
$query = "
SELECT count(*)