diff --git a/htdocs/fourn/fiche.php b/htdocs/fourn/fiche.php index 97710d79c5e..b18f5eadd3d 100644 --- a/htdocs/fourn/fiche.php +++ b/htdocs/fourn/fiche.php @@ -129,6 +129,21 @@ if ( $societe->fetch($socid) ) print ''.$langs->trans("ShowSupplierPreview").''; print ''; print ''; + + /* + * List of products + */ + if ($conf->produit->enabled || $conf->service->enabled) + { + $langs->load("products"); + print ''; + print ''; + print '
'.$langs->trans("ProductsAndServices").''; + print ''.$langs->trans("All").' ('.$societe->NbProduct().')'; + print '
'; + } + + print '
'; /* @@ -179,7 +194,7 @@ if ( $societe->fetch($socid) ) $db->free($resql); if ($num > 0) { - print "
"; + print ""; } } else @@ -230,7 +245,7 @@ if ( $societe->fetch($socid) ) $db->free($resql); if ($num > 0) { - print '
'; + print ''; } } else @@ -238,19 +253,6 @@ if ( $societe->fetch($socid) ) dol_print_error($db); } - /* - * Liste des produits - */ - if ($conf->produit->enabled || $conf->service->enabled) - { - $langs->load("products"); - print ''; - print ''; - print '
'.$langs->trans("ProductsAndServices").''; - print ''.$langs->trans("All").' ('.$societe->NbProduct().')'; - print '
'; - } - print ''; print '' . "\n"; print '';