Update list.php
This commit is contained in:
parent
446e73d8b8
commit
3ab8e13157
@ -512,7 +512,7 @@ else
|
||||
// Status (to sell)
|
||||
print '<td align="right" nowrap="nowrap">';
|
||||
if (! empty($conf->use_javascript_ajax) && $user->rights->produit->creer) {
|
||||
print ajax_object_onoff($product_static, 'status');
|
||||
print ajax_object_onoff($product_static, 'status', 'ProductStatusOnSell', 'ProductStatusNotOnSell');
|
||||
} else {
|
||||
print $product_static->LibStatut($objp->tosell,5,0);
|
||||
}
|
||||
@ -521,7 +521,7 @@ else
|
||||
// Status (to buy)
|
||||
print '<td align="right" nowrap="nowrap">';
|
||||
if (! empty($conf->use_javascript_ajax) && $user->rights->produit->creer) {
|
||||
print ajax_object_onoff($product_static, 'status_buy');
|
||||
print ajax_object_onoff($product_static, 'status_buy', 'ProductStatusOnBuy', 'ProductStatusNotOnBuy');
|
||||
} else {
|
||||
print $product_static->LibStatut($objp->tobuy,5,1);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user