Skip to content

Commit

Permalink
Debug v21
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Nov 20, 2024
1 parent 22da15f commit e9c1274
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion htdocs/product/price.php
Original file line number Diff line number Diff line change
Expand Up @@ -2539,6 +2539,7 @@ function on_change() {
$total_ttc = $resultarray[2];

if (!getDolGlobalString('PRODUIT_CUSTOMER_PRICES_AND_MULTIPRICES')) {
print '<!-- PRODUIT_CUSTOMER_PRICES_AND_MULTIPRICES -->'."\n";
print '<tr class="oddeven">';
print '<td colspan="3">' . $langs->trans('Default') . '</td>';

Expand Down Expand Up @@ -2580,7 +2581,10 @@ function on_change() {
print '<td class="right"></td>';
if (!empty($extralabels)) {
foreach ($extralabels as $key) {
print '<td class="right"></td>';
// Show field if not hidden
if (!empty($extrafields->attributes["product_customer_price"]['list'][$key]) && $extrafields->attributes["product_customer_price"]['list'][$key] != 3) {
print '<td class="right"></td>';
}
}
}
if ($user->hasRight('produit', 'supprimer') || $user->hasRight('service', 'supprimer')) {
Expand Down

0 comments on commit e9c1274

Please sign in to comment.