Merge pull request #8872 from frederic34/patch-15

Missing link to disable price by qty
This commit is contained in:
Laurent Destailleur 2018-05-29 10:53:19 +02:00 committed by GitHub
commit 36027649ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -944,6 +944,7 @@ if (! empty($conf->global->PRODUIT_MULTIPRICES) || ! empty($conf->global->PRODUI
}
print '</table>';
print '<a href="' . $_SERVER['PHP_SELF'] . '?id=' . $object->id . '&action=disable_price_by_qty&level='.$i.'">(' . $langs->trans("DisablePriceByQty").')</a>';
} else {
print $langs->trans("No");
print '&nbsp; <a href="' . $_SERVER['PHP_SELF'] . '?id=' . $object->id . '&action=activate_price_by_qty&level=' . $i . '">(' . $langs->trans("Activate") . ')</a>';