noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 29/151: Export Detail Operation Analytique +


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 29/151: Export Detail Operation Analytique + Document
Date: Sat, 4 Feb 2017 17:14:25 +0000 (UTC)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 126e2a5021666a5f8c40dd208365542b0d4f3c06
Author: Dany De Bontridder <address@hidden>
Date:   Sun Nov 27 17:29:37 2016 +0100

    Export Detail Operation Analytique + Document
---
 include/class/class_document_export.php |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/class/class_document_export.php 
b/include/class/class_document_export.php
index a42979f..c7e198a 100644
--- a/include/class/class_document_export.php
+++ b/include/class/class_document_export.php
@@ -18,7 +18,7 @@
 */
 
 // Copyright Author Dany De Bontridder address@hidden
-
+require_once NOALYSS_INCLUDE.'/class/class_pdf_operation.php';
 /**
  * @brief Export DOCUMENT from Analytic accountancy, can transform into PDF
  * and add a stamp on each pages
@@ -223,14 +223,14 @@ class Document_Export
             }
             
             // create the pdf with the detail of operation
-            $detail_operation = new PDF_Operation($cn,$jr_id);
+            $detail_operation = new PDF_Operation($cn,$value);
             $detail_operation->export_pdf(array("acc","anc"));
 
             // output 2
             $output2 = $this->store_convert . '/operation_' . $file_pdf;
             
             // concatenate detail operation with the output
-            $stmt = PDFTK . " " . $detail_operation->get_pdf_file()." 
".$output. 
+            $stmt = PDFTK . " " . $detail_operation->get_pdf_filename()." 
".$output. 
                     ' output ' . $output2;
 
             passthru($stmt, $status);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]