Woocom (#50)
* orders * woocommerce support * working with MariaDB + Derby
This commit is contained in:
@@ -2221,7 +2221,7 @@ public abstract class JPanelTicket extends JPanel implements JPanelView, BeanFac
|
||||
|
||||
if (checkProduct != null) {
|
||||
|
||||
if (checkProduct.getUnits() <= 0) {
|
||||
if (checkProduct.getUnits() != null && checkProduct.getUnits() <= 0) {
|
||||
jCheckStock.setForeground(Color.magenta);
|
||||
} else {
|
||||
jCheckStock.setForeground(Color.darkGray);
|
||||
|
||||
Reference in New Issue
Block a user