From a6d8e91f04205c8ab8b7fa2b72a93d41999d24e5 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Sun, 17 Apr 2005 14:07:19 +0000 Subject: [PATCH] =?UTF-8?q?Ajout=20affichage=20du=20fichier=20pdf=20g=E9n?= =?UTF-8?q?=E9r=E9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/expedition/fiche.php | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/htdocs/expedition/fiche.php b/htdocs/expedition/fiche.php index 224416d310d..1073ee3d7c0 100644 --- a/htdocs/expedition/fiche.php +++ b/htdocs/expedition/fiche.php @@ -421,9 +421,25 @@ else { dolibarr_print_error($db); } - - - print "\n\n"; + + print "\n"; + /* + * + */ + $file = $expedition->pdf_filename; + if (file_exists($file)) + { + print '
'; + print ""; + + print ''; + print ''; + print ''; + print "
".$langs->trans("Sending")." PDF'.basename($file).''.filesize($file). ' bytes'.strftime("%e %B %Y %H:%M:%S",filemtime($file)).'
"; + } + + print "\n\n"; + /* * */