changed pictos used in replenish.php
This commit is contained in:
parent
72a3bd9bdd
commit
c756d34940
BIN
htdocs/product/stock/img/no.png
Normal file
BIN
htdocs/product/stock/img/no.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 677 B |
BIN
htdocs/product/stock/img/yes.png
Normal file
BIN
htdocs/product/stock/img/yes.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 974 B |
@ -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>',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user