From: Matthew Wire Date: Tue, 3 Nov 2020 22:02:28 +0000 (+0000) Subject: Add UI metadata for payment_processor_id on financialTrxn X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=68fba329c1c08d14ddfcbd4e3077a0b90b7680b0;p=civicrm-core.git Add UI metadata for payment_processor_id on financialTrxn --- 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