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