From: demeritcowboy Date: Tue, 30 Mar 2021 23:04:12 +0000 (-0400) Subject: datepicker remnant X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=d6f6525945a8ca38958495830ee4ff21744b08da;p=civicrm-core.git datepicker remnant --- 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']);