projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04ad906
)
Allow `civicrm_campaign` as `entity_table` for `FinancialItem` API entity
author
Jens Schuppe
<schuppe@systopia.de>
Fri, 22 Sep 2023 09:39:15 +0000
(11:39 +0200)
committer
Jens Schuppe
<schuppe@systopia.de>
Fri, 22 Sep 2023 09:39:15 +0000
(11:39 +0200)
CRM/Financial/BAO/FinancialItem.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Financial/BAO/FinancialItem.php
b/CRM/Financial/BAO/FinancialItem.php
index 4350de8e730e89ae856db021d2231cf4d89119ac..ef7fd5b35ff8ed065ff83698498c2d41d2eb2d10 100644
(file)
--- a/
CRM/Financial/BAO/FinancialItem.php
+++ b/
CRM/Financial/BAO/FinancialItem.php
@@
-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'),
];
}