projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add is_template field to contribution entity
[civicrm-core.git]
/
api
/
v3
/
examples
/
Contribution
/
ContributionCreateWithNote.ex.php
diff --git
a/api/v3/examples/Contribution/ContributionCreateWithNote.ex.php
b/api/v3/examples/Contribution/ContributionCreateWithNote.ex.php
index 1c22dd7f1f7409a3e51a3b2dfd574fd5e12a9718..16bf6b2e4dcce9b23a970e0b487169e48f93b771 100644
(file)
--- a/
api/v3/examples/Contribution/ContributionCreateWithNote.ex.php
+++ b/
api/v3/examples/Contribution/ContributionCreateWithNote.ex.php
@@
-9,7
+9,7
@@
*/
function contribution_create_example() {
$params = [
*/
function contribution_create_example() {
$params = [
- 'contact_id' => 2
5
,
+ 'contact_id' => 2
6
,
'receive_date' => '2012-01-01',
'total_amount' => '100',
'financial_type_id' => 1,
'receive_date' => '2012-01-01',
'total_amount' => '100',
'financial_type_id' => 1,
@@
-59,7
+59,7
@@
function contribution_create_expectedresult() {
'values' => [
'1' => [
'id' => '1',
'values' => [
'1' => [
'id' => '1',
- 'contact_id' => '2
5
',
+ 'contact_id' => '2
6
',
'financial_type_id' => '1',
'contribution_page_id' => '',
'payment_instrument_id' => '1',
'financial_type_id' => '1',
'contribution_page_id' => '',
'payment_instrument_id' => '1',
@@
-88,6
+88,7
@@
function contribution_create_expectedresult() {
'creditnote_id' => '',
'tax_amount' => '',
'revenue_recognition_date' => '',
'creditnote_id' => '',
'tax_amount' => '',
'revenue_recognition_date' => '',
+ 'is_template' => '',
'contribution_type_id' => '1',
],
],
'contribution_type_id' => '1',
],
],