diff --git a/htdocs/product/composition/card.php b/htdocs/product/composition/card.php index 5f783d190e9..2cecfc84bc4 100644 --- a/htdocs/product/composition/card.php +++ b/htdocs/product/composition/card.php @@ -24,7 +24,7 @@ /** * \file htdocs/product/composition/card.php * \ingroup product - * \brief Page de la fiche produit + * \brief Page of product file */ require '../../main.inc.php'; @@ -335,19 +335,28 @@ if ($id > 0 || !empty($ref)) { print ''; print ''; - print '
| '.$langs->trans('Rank').' | '; + // Product ref print ''.$langs->trans('ComposedProduct').' | '; + // Product label print ''.$langs->trans('Label').' | '; + // Min supplier price print ''.$langs->trans('MinSupplierPrice').' | '; + // Min customer price print ''.$langs->trans('MinCustomerPrice').' | '; + // Stock if (!empty($conf->stock->enabled)) { print ''.$langs->trans('Stock').' | '; } + // Qty in kit print ''.$langs->trans('Qty').' | '; + // Stoc inc/dev print ''.$langs->trans('ComposedProductIncDecStock').' | '; + // Move print ''; print ' | ||
| '.$object->sousprods[$parent_label][$value['id']][7].' | '; $notdefined = 0; $nb_of_subproduct = $value['nb']; + // Product ref print ''.$productstatic->getNomUrl(1, 'composition').' | '; + + // Product label print ''.$productstatic->label.' | '; // Best buying price @@ -423,8 +436,9 @@ if ($id > 0 || !empty($ref)) { print ''.($value['incdec'] == 1 ? 'x' : '').' | '; } - print ''; - print ' | '; + // Move action + print ''; + print ' | '; + + // Product ref print ' | '; for ($i = 0; $i < $value['level']; $i++) { print ' '; // Add indentation } print $productstatic->getNomUrl(1, 'composition').' | '; + + // Product label print ''.$productstatic->label.' | '; // Best buying price @@ -451,19 +471,36 @@ if ($id > 0 || !empty($ref)) { print ''; print ' | '; + // Stock if (!empty($conf->stock->enabled)) { print ' | '; // Real stock } + + // Qty in kit print ' | '.$value['nb'].' | '; + + // Inc/dec print ''; + + // Action move print ' | '; print ''."\n"; } } + + // Total + print ' |
| '; + + // Product ref print ' | '; + + // Product label print ' | '; // Minimum buying price @@ -495,11 +532,16 @@ if ($id > 0 || !empty($ref)) { print ' | '; } - print ' | '; + print ' | '; + + print ' | '; if ($user->rights->produit->creer || $user->rights->service->creer) { print ''; } print ' | '; + + print ''; + print ' | |||