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
799f18b0
Commit
799f18b0
authored
Nov 11, 2020
by
KarinG
Browse files
Merge branch 'tcpdf-classpath' into 'master'
#114
- Load tcpdf via autoloader See merge request
!108
parents
80f10c0c
cd2cd18f
Changes
2
Hide whitespace changes
Inline
Side-by-side
cdntaxreceipts.functions.inc
View file @
799f18b0
...
...
@@ -191,8 +191,6 @@ function cdntaxreceipts_processTaxReceipt($receipt, &$collectedPdf = NULL, $mode
*/
function
cdntaxreceipts_generateFormattedReceipt
(
$receipt
,
&
$collectedPdf
=
NULL
,
$mode
)
{
require_once
'tcpdf/tcpdf.php'
;
$pdf_img_files_path
=
dirname
(
__FILE__
)
.
'/img/'
;
$address
=
cdntaxreceipts_getAddress
(
$receipt
[
'contact_id'
]);
...
...
@@ -1151,7 +1149,6 @@ function cdntaxreceipts_openCollectedPDF() {
if
(
!
isset
(
$pdf
)
)
{
//define ('K_PATH_IMAGES', '');
require_once
'tcpdf/tcpdf.php'
;
$pdf
=
new
PDF
(
PDF_PAGE_ORIENTATION
,
PDF_UNIT
,
'LETTER'
,
TRUE
,
'UTF-8'
,
FALSE
);
$pdf
->
Open
();
...
...
info.xml
View file @
799f18b0
...
...
@@ -12,8 +12,8 @@
<author>
KarinG and DaveD
</author>
<email>
frontdesk@semper-it.com
</email>
</maintainer>
<releaseDate>
2020-11-
04
</releaseDate>
<version>
1.5.
2
</version>
<releaseDate>
2020-11-
11
</releaseDate>
<version>
1.5.
3
</version>
<develStage>
stable
</develStage>
<compatibility>
<ver>
5.28
</ver>
...
...
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