From d6f6525945a8ca38958495830ee4ff21744b08da Mon Sep 17 00:00:00 2001 From: demeritcowboy Date: Tue, 30 Mar 2021 19:04:12 -0400 Subject: [PATCH] datepicker remnant --- CRM/Contribute/Form/Contribution.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/CRM/Contribute/Form/Contribution.php b/CRM/Contribute/Form/Contribution.php index d1f8804a4e..0f804d6c85 100644 --- a/CRM/Contribute/Form/Contribution.php +++ b/CRM/Contribute/Form/Contribution.php @@ -910,11 +910,6 @@ class CRM_Contribute_Form_Contribution extends CRM_Contribute_Form_AbstractEditP $errors['trxn_id'] = ts('Transaction ID\'s must be unique. Transaction \'%1\' already exists in your database.', [1 => $fields['trxn_id']]); } } - if (!empty($fields['revenue_recognition_date']) - && count(array_filter($fields['revenue_recognition_date'])) == 1 - ) { - $errors['revenue_recognition_date'] = ts('Month and Year are required field for Revenue Recognition.'); - } // CRM-16189 try { CRM_Financial_BAO_FinancialAccount::checkFinancialTypeHasDeferred($fields, $self->_id, $self->_priceSet['fields']); -- 2.25.1