Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Extensions
CDNTaxReceipts
Commits
2a15e85a
Commit
2a15e85a
authored
Dec 28, 2021
by
KarinG
Browse files
Merge branch 'php8-dep' into 'master'
php8 deprecations See merge request
!162
parents
5f5b10d3
552f7eca
Changes
1
Hide whitespace changes
Inline
Side-by-side
cdntaxreceipts.functions.inc
View file @
2a15e85a
...
@@ -46,7 +46,7 @@ require_once('FPDI/src/autoload.php');
...
@@ -46,7 +46,7 @@ require_once('FPDI/src/autoload.php');
*
*
* This method is common to both single and annual receipts.
* This method is common to both single and annual receipts.
*/
*/
function
cdntaxreceipts_processTaxReceipt
(
$receipt
,
&
$collectedPdf
=
NULL
,
$mode
,
$method
=
NULL
)
{
function
cdntaxreceipts_processTaxReceipt
(
$receipt
,
&
$collectedPdf
=
NULL
,
$mode
=
NULL
,
$method
=
NULL
)
{
// Get contact details
// Get contact details
list
(
$displayname
,
$email
)
=
CRM_Contact_BAO_Contact
::
getContactDetails
(
$receipt
[
'contact_id'
]);
list
(
$displayname
,
$email
)
=
CRM_Contact_BAO_Contact
::
getContactDetails
(
$receipt
[
'contact_id'
]);
...
@@ -178,7 +178,7 @@ function cdntaxreceipts_processTaxReceipt($receipt, &$collectedPdf = NULL, $mode
...
@@ -178,7 +178,7 @@ function cdntaxreceipts_processTaxReceipt($receipt, &$collectedPdf = NULL, $mode
* This function should always be called through processTaxReceipt(). It is imperative
* This function should always be called through processTaxReceipt(). It is imperative
* that each receipt generated by the system gets logged and archived properly.
* that each receipt generated by the system gets logged and archived properly.
*/
*/
function
cdntaxreceipts_generateFormattedReceipt
(
$receipt
,
&
$collectedPdf
=
NULL
,
$mode
)
{
function
cdntaxreceipts_generateFormattedReceipt
(
$receipt
,
&
$collectedPdf
=
NULL
,
$mode
=
NULL
)
{
$pdf_img_files_path
=
dirname
(
__FILE__
)
.
'/img/'
;
$pdf_img_files_path
=
dirname
(
__FILE__
)
.
'/img/'
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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