Update price.php
This commit is contained in:
parent
894f16c5ee
commit
a487cf6806
@ -45,9 +45,7 @@ if (! empty($conf->global->PRODUIT_CUSTOMER_PRICES)) {
|
|||||||
$prodcustprice = new Productcustomerprice($db);
|
$prodcustprice = new Productcustomerprice($db);
|
||||||
}
|
}
|
||||||
|
|
||||||
$langs->load("products");
|
$langs->loadLangs(array("products", "bills", "companies"));
|
||||||
$langs->load("bills");
|
|
||||||
$langs->load("companies");
|
|
||||||
|
|
||||||
$mesg=''; $error=0; $errors=array();
|
$mesg=''; $error=0; $errors=array();
|
||||||
|
|
||||||
@ -945,6 +943,7 @@ if (! empty($conf->global->PRODUIT_MULTIPRICES) || ! empty($conf->global->PRODUI
|
|||||||
}
|
}
|
||||||
|
|
||||||
print '</table>';
|
print '</table>';
|
||||||
|
print '<a href="' . $_SERVER['PHP_SELF'] . '?id=' . $object->id . '&action=disable_price_by_qty&level='.$i.'">(' . $langs->trans("DisablePriceByQty").')';
|
||||||
} else {
|
} else {
|
||||||
print $langs->trans("No");
|
print $langs->trans("No");
|
||||||
print ' <a href="' . $_SERVER['PHP_SELF'] . '?id=' . $object->id . '&action=activate_price_by_qty&level=' . $i . '">(' . $langs->trans("Activate") . ')</a>';
|
print ' <a href="' . $_SERVER['PHP_SELF'] . '?id=' . $object->id . '&action=activate_price_by_qty&level=' . $i . '">(' . $langs->trans("Activate") . ')</a>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user