From 4777a0083a69b128e255e2566539bf365c8f3920 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Fri, 19 May 2023 14:28:23 +1200 Subject: [PATCH] Enotice fix on frontend_title --- CRM/Financial/BAO/PaymentProcessor.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CRM/Financial/BAO/PaymentProcessor.php b/CRM/Financial/BAO/PaymentProcessor.php index 95e7ce2931..4a316ef147 100644 --- a/CRM/Financial/BAO/PaymentProcessor.php +++ b/CRM/Financial/BAO/PaymentProcessor.php @@ -301,6 +301,8 @@ class CRM_Financial_BAO_PaymentProcessor extends CRM_Financial_DAO_PaymentProces $fieldsToProvide = [ 'id', 'name', + 'title', + 'frontend_title', 'payment_processor_type_id', 'user_name', 'password', @@ -331,6 +333,8 @@ class CRM_Financial_BAO_PaymentProcessor extends CRM_Financial_DAO_PaymentProces $processors['values'][0] = [ 'object' => new CRM_Core_Payment_Manual(), 'id' => 0, + 'frontend_title' => ts('Pay later'), + 'title' => ts('Pay later'), 'payment_processor_type_id' => 0, // This shouldn't be required but there are still some processors hacked into core with nasty 'if's. 'payment_processor_type' => 'Manual', -- 2.25.1