From a194901edec5c21efeca17e00f62d3eb4e8f295e Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 20 Dec 2010 22:07:04 +0000 Subject: [PATCH] Fix: A lot of fix in TCPDF compatibility --- htdocs/compta/paiement/rapport.php | 6 +- .../modules/commande/pdf_edison.modules.php | 2 +- .../modules/commande/pdf_einstein.modules.php | 12 ++-- .../modules/facture/pdf_crabe.modules.php | 10 ++-- .../modules/facture/pdf_oursin.modules.php | 12 ++-- .../livraison/pdf/pdf_sirocco.modules.php | 30 ++++------ .../livraison/pdf/pdf_typhon.modules.php | 8 +-- .../modules/rapport/pdf_paiement.class.php | 59 +++++++++++-------- 8 files changed, 71 insertions(+), 68 deletions(-) diff --git a/htdocs/compta/paiement/rapport.php b/htdocs/compta/paiement/rapport.php index 0f5a4cc5f4f..38dbb36817d 100644 --- a/htdocs/compta/paiement/rapport.php +++ b/htdocs/compta/paiement/rapport.php @@ -1,6 +1,6 @@ - * Copyright (C) 2004-2009 Laurent Destailleur + * Copyright (C) 2004-2010 Laurent Destailleur * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -92,8 +92,8 @@ print_fiche_titre($titre); print '
'; print ''; print ''; -$cmonth = date("n", time()); -$syear = date("Y", time()); +$cmonth = GETPOST("remonth")?GETPOST("remonth"):date("n", time()); +$syear = GETPOST("reyear")?GETPOST("reyear"):date("Y", time()); print '