| ' . $langs->trans("Label") . ' | ' . $object->label . ' | ';
+print '';
-$isphoto = $object->is_photo_available($conf->product->multidir_output [$object->entity]);
-
-$nblignes = 5;
-if ($isphoto) {
- // Photo
- print '
';
- print $object->show_photos($conf->product->multidir_output [$object->entity], 1, 1, 0, 0, 0, 80);
- print ' | ';
-}
-
-print '
';
-
-// Status (to sell)
-print '';
// MultiPrix
if (! empty($conf->global->PRODUIT_MULTIPRICES))
@@ -470,7 +449,7 @@ if (! empty($conf->global->PRODUIT_MULTIPRICES))
$soc->fetch($socid);
// Selling price
- print '' . $langs->trans("SellingPrice") . '';
+ print '
| ' . $langs->trans("SellingPrice") . ' | ';
print '';
if ($object->multiprices_base_type[$soc->price_level] == 'TTC') {
print price($object->multiprices_ttc[$soc->price_level]);
@@ -511,12 +490,12 @@ if (! empty($conf->global->PRODUIT_MULTIPRICES))
if (! empty($conf->global->PRODUIT_MULTIPRICES_USE_VAT_PER_LEVEL)) // using this option is a bug. kept for backward compatibility
{
// We show only vat for level 1
- print ' |
| ' . $langs->trans("VATRate") . ' | ' . vatrate($object->multiprices_tva_tx [1], true) . ' |
';
+ print '| ' . $langs->trans("VATRate") . ' | ' . vatrate($object->multiprices_tva_tx [1], true) . ' |
';
}
else
{
// TVA
- print '| ' . $langs->trans("VATRate") . ' | ' . vatrate($object->tva_tx . ($object->tva_npr ? '*' : ''), true) . ' |
';
+ print '| ' . $langs->trans("VATRate") . ' | ' . vatrate($object->tva_tx . ($object->tva_npr ? '*' : ''), true) . ' |
';
}
print '| '.$langs->trans("PriceLevel").' | '.$langs->trans("SellingPrice").' | '.$langs->trans("MinPrice").' |
';
@@ -633,7 +612,7 @@ if (! empty($conf->global->PRODUIT_MULTIPRICES))
else
{
// TVA
- print '| ' . $langs->trans("VATRate") . ' | ' . vatrate($object->tva_tx . ($object->tva_npr ? '*' : ''), true) . ' |
';
+ print '| ' . $langs->trans("VATRate") . ' | ' . vatrate($object->tva_tx . ($object->tva_npr ? '*' : ''), true) . ' |
';
// Price
print '| ' . $langs->trans("SellingPrice") . ' | ';
@@ -731,6 +710,10 @@ else
print " |
\n";
+print '';
+print '