From 68fba329c1c08d14ddfcbd4e3077a0b90b7680b0 Mon Sep 17 00:00:00 2001 From: Matthew Wire Date: Tue, 3 Nov 2020 22:02:28 +0000 Subject: [PATCH] Add UI metadata for payment_processor_id on financialTrxn --- CRM/Financial/DAO/FinancialTrxn.php | 10 +++++++++- xml/schema/Financial/FinancialTrxn.xml | 8 ++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/CRM/Financial/DAO/FinancialTrxn.php b/CRM/Financial/DAO/FinancialTrxn.php index e94ee652f4..d0f2b85738 100644 --- a/CRM/Financial/DAO/FinancialTrxn.php +++ b/CRM/Financial/DAO/FinancialTrxn.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Financial/FinancialTrxn.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:857c64b471d1872d98141aefa56aecb6) + * (GenCodeChecksum:834a9dbff8acecd70dbb68d640cb1d46) */ /** @@ -422,6 +422,14 @@ class CRM_Financial_DAO_FinancialTrxn extends CRM_Core_DAO { 'bao' => 'CRM_Financial_DAO_FinancialTrxn', 'localizable' => 0, 'FKClassName' => 'CRM_Financial_DAO_PaymentProcessor', + 'html' => [ + 'type' => 'Select', + ], + 'pseudoconstant' => [ + 'table' => 'civicrm_payment_processor', + 'keyColumn' => 'id', + 'labelColumn' => 'name', + ], 'add' => '4.3', ], 'financial_trxn_payment_instrument_id' => [ diff --git a/xml/schema/Financial/FinancialTrxn.xml b/xml/schema/Financial/FinancialTrxn.xml index e34d9b9112..f66395144b 100644 --- a/xml/schema/Financial/FinancialTrxn.xml +++ b/xml/schema/Financial/FinancialTrxn.xml @@ -167,6 +167,14 @@ Payment Processor int unsigned Payment Processor for this financial transaction + + civicrm_payment_processor
+ id + name +
+ + Select + 4.3 -- 2.25.1