- aggiornamento lista catalogo, ordinamento tabelle
This commit is contained in:
@@ -9972,7 +9972,18 @@ export const tools = {
|
||||
}
|
||||
},
|
||||
|
||||
getDescrQuantitàByQuantity(quantity: number) : string {
|
||||
if (quantity <= 1) {
|
||||
return 'Non disponibile';
|
||||
} else if (quantity > 1 && quantity <= 10) {
|
||||
return 'Quasi terminato';
|
||||
} else if (quantity > 10 && quantity <= 50) {
|
||||
return 'In esaurimento';
|
||||
} else {
|
||||
return 'Buona';
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
// FINE !
|
||||
|
||||
|
||||
Reference in New Issue
Block a user