projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CRM-19830 finish converting check_number to being standard (incl unique named rather...
[civicrm-core.git]
/
CRM
/
Contribute
/
Form
/
ContributionBase.php
diff --git
a/CRM/Contribute/Form/ContributionBase.php
b/CRM/Contribute/Form/ContributionBase.php
index ab112e2a8d9132969b51f174c8b0f60836f252d2..3d953976b09dbc281a41e9566b0b7f8fc47631d0 100644
(file)
--- a/
CRM/Contribute/Form/ContributionBase.php
+++ b/
CRM/Contribute/Form/ContributionBase.php
@@
-3,7
+3,7
@@
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-201
6
|
+ | Copyright CiviCRM LLC (c) 2004-201
7
|
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
@@
-28,7
+28,7
@@
/**
*
* @package CRM
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-201
6
+ * @copyright CiviCRM LLC (c) 2004-201
7
*/
/**
*/
/**
@@
-609,8
+609,11
@@
class CRM_Contribute_Form_ContributionBase extends CRM_Core_Form {
'total_amount' => 1,
'amount_level' => 1,
'contribution_status_id' => 1,
'total_amount' => 1,
'amount_level' => 1,
'contribution_status_id' => 1,
+ // @todo replace payment_instrument with payment instrument id.
+ // both are available now but the id field is the most consistent.
'payment_instrument' => 1,
'payment_instrument' => 1,
- 'check_number' => 1,
+ 'payment_instrument_id' => 1,
+ 'contribution_check_number' => 1,
'financial_type' => 1,
);
'financial_type' => 1,
);