fix updQtaMagazzino
This commit is contained in:
parent
f2b61532d2
commit
b823ddc6f6
@ -57,7 +57,7 @@ public class Prodotto {
|
||||
}
|
||||
|
||||
public void updQtaMagazzino(String nome, float qtaFinale) { // decreaseQuantity
|
||||
if (this.nome.equals(nome)) {
|
||||
if (this.nome.contains(nome)) {
|
||||
this.qta = qtaFinale;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user