Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Extensions
sepaocrformat
Commits
39cd628c
Commit
39cd628c
authored
May 29, 2020
by
jaapjansma
Browse files
fixed issue with creating an activity for each collection
parent
092eeca1
Changes
2
Hide whitespace changes
Inline
Side-by-side
info.xml
View file @
39cd628c
...
...
@@ -13,8 +13,8 @@
<url
desc=
"Documentation"
>
https://lab.civicrm.org/extensions/sepaocrformat/blob/master/README.md
</url>
<url
desc=
"Licensing"
>
http://www.gnu.org/licenses/agpl-3.0.html
</url>
</urls>
<releaseDate>
2020-0
3
-2
6
</releaseDate>
<version>
1.3
-dev
</version>
<releaseDate>
2020-0
5
-2
9
</releaseDate>
<version>
1.3
</version>
<develStage>
stable
</develStage>
<compatibility>
<ver>
5.13
</ver>
...
...
templates/Sepa/Formats/OCR/Format.php
View file @
39cd628c
...
...
@@ -52,16 +52,6 @@ class CRM_Sepa_Logic_Format_OCR extends CRM_Sepa_Logic_Format {
$contributions
[
$idx
][
'transaction_type'
]
=
'21'
;
}
$message
=
E
::
ts
(
'KID is not generated and how do we know notification to bank?'
);
$details
=
array
(
'contribution id'
=>
$contribution
[
'id'
],
'campaign id'
=>
isset
(
$contribution
[
'contribution_campaign_id'
])
?
$contribution
[
'contribution_campaign_id'
]
:
''
,
'receive date'
=>
$contribution
[
'receive_date'
],
'amount'
=>
$contribution
[
'total_amount'
],
'contact id'
=>
$contribution
[
'contact_id'
],
);
CRM_Sepaocrformat_Activity
::
createActivity
(
E
::
ts
(
'No KID generation and no notification to bank'
),
$message
,
$details
);
$contact
=
CRM_Core_DAO
::
executeQuery
(
$contactSql
,
array
(
1
=>
array
(
$contribution
[
'contact_id'
],
'Integer'
)));
if
(
$contact
->
fetch
())
{
$firstName
=
@
iconv
(
"UTF-8"
,
"ISO-8859-1"
,
mb_substr
(
$contact
->
first_name
,
0
,
5
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment