changed pictos used in replenish.php

This commit is contained in:
Cédric Salvador 2013-07-08 10:37:31 +02:00
parent 72a3bd9bdd
commit c756d34940
3 changed files with 3 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 677 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 974 B

View File

@ -423,12 +423,12 @@ if ($resql) {
$stocktobuy = max($objp->desiredstock - $stock - $ordered, 0);
$disabled = '';
if ($ordered > 0) {
$picto = img_picto('','tick');
if ($ordered + $stock >= $objp->desiredstock) {
$picto = img_picto('', './img/yes', '', 1);
if($ordered + $stock >= $objp->desiredstock) {
$disabled = 'disabled="disabled"';
}
} else {
$picto = img_picto('', 'stcomm-1');
$picto = img_picto('', './img/no', '', 1);
}
echo '<tr ' . $bc[$var] . '>',
'<td><input type="checkbox" class="check" name="' . $i . '"' . $disabled . '></td>',