Debug v21

This commit is contained in:
Laurent Destailleur (aka Eldy) 2024-12-24 03:10:47 +01:00
parent f8ed88213c
commit 5d40289604
2 changed files with 4 additions and 4 deletions

View file

@ -1133,8 +1133,8 @@ class ProductFournisseur extends Product
$out = '';
$langs->load("suppliers");
if (count($productFournList) > 0) {
$out .= '<table class="nobordernopadding centpercent">';
$out .= '<tr><td class="liste_titre right">'.($showunitprice ? $langs->trans("Price").' '.$langs->trans("HT") : '').'</td>';
$out .= '<table class="centpercent liste nomarginbottom">';
$out .= '<tr class="liste_titre"><td class="liste_titre right">'.($showunitprice ? $langs->trans("Price").' '.$langs->trans("HT") : '').'</td>';
$out .= '<td class="liste_titre right">'.($showunitprice ? $langs->trans("QtyMin") : '').'</td>';
$out .= '<td class="liste_titre">'.$langs->trans("Supplier").'</td>';
$out .= '<td class="liste_titre">'.$langs->trans("SupplierRef").'</td></tr>';
@ -1142,7 +1142,7 @@ class ProductFournisseur extends Product
$out .= '<tr><td class="right">'.($showunitprice ? price($productFourn->fourn_unitprice * (1 - $productFourn->fourn_remise_percent / 100) - $productFourn->fourn_remise) : '').'</td>';
$out .= '<td class="right">'.($showunitprice ? $productFourn->fourn_qty : '').'</td>';
$out .= '<td>'.$productFourn->getSocNomUrl(1, 'supplier', $maxlen, $notooltip).'</td>';
$out .= '<td>'.$productFourn->fourn_ref.'<td></tr>';
$out .= '<td>'.dolPrintHTML($productFourn->fourn_ref).'</td></tr>';
}
$out .= '</table>';
} else {

View file

@ -2033,7 +2033,7 @@ while ($i < $imaxinloop) {
}
}
// Number of buy prices
// Number of buy prices - Vendor prices
if (!empty($arrayfields['p.numbuyprice']['checked'])) {
print '<td class="right">';
if ($product_static->status_buy && $usercancreadprice) {