Add UI metadata for payment_processor_id on financialTrxn
authorMatthew Wire <mjw@mjwconsult.co.uk>
Tue, 3 Nov 2020 22:02:28 +0000 (22:02 +0000)
committerMatthew Wire <mjw@mjwconsult.co.uk>
Tue, 3 Nov 2020 22:03:27 +0000 (22:03 +0000)
CRM/Financial/DAO/FinancialTrxn.php
xml/schema/Financial/FinancialTrxn.xml

index e94ee652f48390634f733429fb4058d768c87735..d0f2b857380057c950edae24d73a67305bc0408e 100644 (file)
@@ -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' => [
index e34d9b91123c79838ab7caa7294672e5010a95a6..f66395144b2a8b02478de371876a561a8cd0db25 100644 (file)
     <title>Payment Processor</title>
     <type>int unsigned</type>
     <comment>Payment Processor for this financial transaction</comment>
+    <pseudoconstant>
+      <table>civicrm_payment_processor</table>
+      <keyColumn>id</keyColumn>
+      <labelColumn>name</labelColumn>
+    </pseudoconstant>
+    <html>
+      <type>Select</type>
+    </html>
     <add>4.3</add>
   </field>
   <foreignKey>