small changes

This commit is contained in:
TLRZ Seyfferth
2018-01-11 14:57:10 +01:00
parent 49146a8ba6
commit 2c3f00d476
4 changed files with 65 additions and 41 deletions
+4
View File
@@ -50,6 +50,10 @@ InventoryArticle.prototype = {
get StepSize() {
singlePack = this.article.Portions == 1;
return singlePack ? 1 : 0.05;
},
get PortionPrecision() {
singlePack = this.article.Portions == 1;
return singlePack ? 0 : 2;
}
};