Allow `civicrm_campaign` as `entity_table` for `FinancialItem` API entity
authorJens Schuppe <schuppe@systopia.de>
Fri, 22 Sep 2023 09:39:15 +0000 (11:39 +0200)
committerJens Schuppe <schuppe@systopia.de>
Fri, 22 Sep 2023 09:39:15 +0000 (11:39 +0200)
CRM/Financial/BAO/FinancialItem.php

index 4350de8e730e89ae856db021d2231cf4d89119ac..ef7fd5b35ff8ed065ff83698498c2d41d2eb2d10 100644 (file)
@@ -281,6 +281,7 @@ WHERE cc.id IN (' . implode(',', $contactIds) . ') AND con.is_test = 0';
     return [
       'civicrm_line_item' => ts('Line Item'),
       'civicrm_financial_trxn' => ts('Financial Trxn'),
+      'civicrm_campaign' => ts('Campaign'),
     ];
   }