From acd15688f62b91a40c5f00b1db6d65e089ac4d27 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 986adf5573..39ac6138a4 100644 --- a/CRM/Financial/BAO/PaymentProcessor.php +++ b/CRM/Financial/BAO/PaymentProcessor.php @@ -307,6 +307,8 @@ class CRM_Financial_BAO_PaymentProcessor extends CRM_Financial_DAO_PaymentProces $fieldsToProvide = [ 'id', 'name', + 'title', + 'frontend_title', 'payment_processor_type_id', 'user_name', 'password', @@ -337,6 +339,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