From fd1ae183e310f9027dbcaf710f3ad2920877ca6f Mon Sep 17 00:00:00 2001 From: Pradeep Nayak Date: Sat, 3 May 2014 00:37:50 +0530 Subject: [PATCH] -- made financial account as required, CRM-14380 ---------------------------------------- * CRM-14380: Adding a new Payment Instrument does not require account, results in unbalanced transactions https://issues.civicrm.org/jira/browse/CRM-14380 --- CRM/Admin/Form/Options.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CRM/Admin/Form/Options.php b/CRM/Admin/Form/Options.php index ffced7de5f..cd2049cf33 100644 --- a/CRM/Admin/Form/Options.php +++ b/CRM/Admin/Form/Options.php @@ -197,7 +197,8 @@ class CRM_Admin_Form_Options extends CRM_Admin_Form { $financialAccount = CRM_Contribute_PseudoConstant::financialAccount(NULL, key($accountType)); $this->add('select', 'financial_account_id', ts('Financial Account'), - array('' => ts('- select -')) + $financialAccount + array('' => ts('- select -')) + $financialAccount, + TRUE ); } -- 2.25.1