diff --git a/htdocs/product/composition/card.php b/htdocs/product/composition/card.php index b7c6ad45dc5..9efa7772cb0 100644 --- a/htdocs/product/composition/card.php +++ b/htdocs/product/composition/card.php @@ -188,97 +188,6 @@ dol_fiche_head($head, 'subproduct', $titre, 0, $picto); if ($id > 0 || ! empty($ref)) { -/* if ($result) - { - if ($action <> 'edit' && $action <> 'search' && $action <> 're-edit') - { - // mode visu - - print '
| '.$langs->trans("Ref").' | '; - print $form->showrefnav($product,'ref','',1,'ref'); - print ' | |||
| '.$langs->trans("Label").' | '.$product->libelle.' | '; - print '|||
| '.$langs->trans("AssociatedProductsNumber").' | '; - print $form->textwithpicto($nbofsubproducts, $langs->trans('IfZeroItIsNotAVirtualProduct')); - print ' | '; - - dol_fiche_end(); - - - // List of products into this virtual product - if (count($prods_arbo) > 0) - { - print '|||
| ';
- print ''.$langs->trans("ProductAssociationList").' '; - print ' '.$productstatic->ref.''; - //print $productstatic->getNomUrl(1).' '; - //print $value[0]; // This contains a tr line. - print ' '.$productstatic->getNomUrl(1,'composition').' ('.$value['nb'].($value['nb_total'] > $value['nb']?'->'.$value['nb_total']:'').')     | ';
- print ''.$productstatic->getNomUrl(1,'composition').' ('.$value['nb'].')     | ';
- if (! empty($conf->stock->enabled)) print ''.$langs->trans("Stock").' : '.$productstatic->stock_reel.' | ';
- print ' | |
| '.$productstatic->getNomUrl(1,'composition').' | ';; - print '