diff --git a/htdocs/fichinter/apercu.php b/htdocs/fichinter/apercu.php index 7b362457125..4d31981931b 100644 --- a/htdocs/fichinter/apercu.php +++ b/htdocs/fichinter/apercu.php @@ -104,10 +104,9 @@ if ($_GET["id"] > 0) { // Ref print ''.$langs->trans("Ref").""; print ''.$fichinter->ref.''; - print ""; - $nbrow=6; - print ''; + $nbrow=4; + print ''; /* * Documents @@ -134,18 +133,18 @@ if ($_GET["id"] > 0) { print_titre($langs->trans("Documents")); print ''; - print ""; + print ""; - print ''; + print ''; print ''; print ''; print ''; // Si fichier detail PDF existe - if (file_exists($filedetail)) { // commande détaillée supplémentaire - print ""; + if (file_exists($filedetail)) { // fichinter détaillée supplémentaire + print ""; - print ''; + print ''; print ''; print ''; print ''; @@ -192,25 +191,14 @@ if ($_GET["id"] > 0) { // Statut print ''; - print "\n"; + print "\n"; print ''; // Date print ''; - print "\n"; + print "\n"; print ''; - // ligne 6 - // partie Gauche - print ''; - print ''; - print ''; - - // ligne 7 - // partie Gauche - print ''; - print ''; - print ''; print '
".$langs->trans("Order")." PDF
".$langs->trans("Intervention")." PDF'.$commande->ref.'.pdf'.$fichinter->ref.'.pdf'.filesize($file). ' bytes'.dolibarr_print_date(filemtime($file),'dayhour').'
Commande détaillée
Fiche d'intervention détaillée'.$commande->ref.'-detail.pdf'.$fichinter->ref.'-detail.pdf'.filesize($filedetail). ' bytes'.dolibarr_print_date(filemtime($filedetail),'dayhour').'
'.$langs->trans("Status").'".$commande->getLibStatut(4)."".$fichinter->getLibStatut(4)."
'.$langs->trans("Date").'".dolibarr_print_date($commande->date,"daytext")."".dolibarr_print_date($fichinter->date,"daytext")."
'.$langs->trans('GlobalDiscount').''.$commande->remise_percent.'%
'.$langs->trans('AmountHT').''.price($commande->total_ht).''.$langs->trans("Currency".$conf->monnaie).'
'; } } else { @@ -218,14 +206,14 @@ if ($_GET["id"] > 0) { } } else { // Commande non trouvée - print $langs->trans("ErrorPropalNotFound",$_GET["id"]); + print $langs->trans("ErrorFichinterNotFound",$_GET["id"]); } } // Si fichier png PDF d'1 page trouvé if (file_exists($fileimage)) { - print ''; + print ''; } // Si fichier png PDF de plus d'1 page trouvé elseif (file_exists($fileimagebis)) @@ -238,7 +226,7 @@ elseif (file_exists($fileimagebis)) if (file_exists($dir_output.$preview)) { - print '

'; + print '

'; } } }