noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 09/12: Print Accounting : export pdf does not


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 09/12: Print Accounting : export pdf does not work
Date: Sun, 8 Nov 2020 15:52:15 -0500 (EST)

sparkyx pushed a commit to branch master
in repository noalyss.

commit cd8e0d397b15f37a94f4f6bea41b5372ecac471b
Author: Dany wm De Bontridder <danydb@noalyss.eu>
AuthorDate: Sat Nov 7 19:18:39 2020 +0100

    Print Accounting : export pdf does not work
---
 include/export/export_poste_detail_pdf.php | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/include/export/export_poste_detail_pdf.php 
b/include/export/export_poste_detail_pdf.php
index f755dab..c4b2fef 100644
--- a/include/export/export_poste_detail_pdf.php
+++ b/include/export/export_poste_detail_pdf.php
@@ -39,13 +39,14 @@ $poste_id=$http->request("poste_id");
 $from_periode=$http->request("from_periode");
 $to_periode=$http->request("to_periode");
 $ople=$http->request("ople");
+$poste_fille=$http->request("poste_fille","string",0);
 
 $gDossier=dossier::id();
 
 /* Security */
 $cn=Dossier::connect();
 
-if ( isset ( $poste_fille) )
+if (  $poste_fille ==  'on' )
 { //choisit de voir tous les postes
     $a_poste=$cn->get_array("select pcm_val from tmp_pcmn where pcm_val::text 
like $1||'%' order by pcm_val",array($poste_id));
 }
@@ -53,7 +54,7 @@ else
 {
     $a_poste=$cn->get_array("select pcm_val from tmp_pcmn where pcm_val::text 
= $1 ",array($poste_id));
 }
-
+tracedebug("exportpostedetail",$a_poste,"a_poste");
 $ret="";
 
 $pdf=new PDF($cn);



reply via email to

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