Commit 799f18b0 authored by KarinG's avatar KarinG
Browse files

Merge branch 'tcpdf-classpath' into 'master'

#114 - Load tcpdf via autoloader

See merge request !108
parents 80f10c0c cd2cd18f
......@@ -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();
......
......@@ -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>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment