'receive_date',
'contribution_cancel_date',
'contribution_page_id',
+ 'contribution_id',
];
$metadata = civicrm_api3('Contribution', 'getfields', [])['values'];
+ $metadata['contribution_id'] = $metadata['id'];
return array_intersect_key($metadata, array_flip($fields));
}
$form->addYesNo('contribution_recurring', ts('Contribution is Recurring?'), TRUE);
$form->addYesNo('contribution_test', ts('Contribution is a Test?'), TRUE);
- $form->add('number', 'contribution_id', ts('Contribution ID'), ['class' => 'four', 'min' => 1]);
// Add field for transaction ID search
$form->addElement('text', 'contribution_trxn_id', ts("Transaction ID"));
$form->addElement('text', 'contribution_check_number', ts('Check Number'));
*
* Generated from xml/schema/CRM/Contribute/Contribution.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:389ae44affe94e52a14c9c6daa79be1d)
+ * (GenCodeChecksum:0954aa2ae3574927fda6614f14168fc8)
*/
/**
'entity' => 'Contribution',
'bao' => 'CRM_Contribute_BAO_Contribution',
'localizable' => 0,
+ 'html' => [
+ 'type' => 'Text',
+ ],
],
'contribution_contact_id' => [
'name' => 'contact_id',