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"; + /* * */