CRM-19830 finish converting check_number to being standard (incl unique named rather...
[civicrm-core.git] / CRM / Contribute / Form / ContributionBase.php
index 8be7ccfad4cdb5f7a446a2c8333ce848549efa6d..3d953976b09dbc281a41e9566b0b7f8fc47631d0 100644 (file)
@@ -609,8 +609,11 @@ class CRM_Contribute_Form_ContributionBase extends CRM_Core_Form {
         '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,
-        'check_number' => 1,
+        'payment_instrument_id' => 1,
+        'contribution_check_number' => 1,
         'financial_type' => 1,
       );