henrybuilt-js-library
Advanced tools
Comparing version 1.8.321 to 1.8.323
{ | ||
"name": "henrybuilt-js-library", | ||
"version": "1.8.321", | ||
"version": "1.8.323", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -324,7 +324,7 @@ var libMaterials = require('@src/materials/materials'); | ||
if (material.boxFactorCategory === 'clearVeneer') { | ||
factor = 1.5; | ||
factor = 1.33; | ||
} | ||
if (material.boxFactorCategory === 'stainedVeneer') { | ||
factor = 2; | ||
factor = 1.66; | ||
} | ||
@@ -345,7 +345,7 @@ } | ||
if (material.boxFactorCategory === 'clearVeneer') { | ||
factor = 1.5; | ||
factor = 1.33; | ||
} | ||
if (material.boxFactorCategory === 'stainedVeneer') { | ||
factor = 2; | ||
factor = 1.66; | ||
} | ||
@@ -352,0 +352,0 @@ } |
@@ -531,5 +531,4 @@ var libPrice = require('./price'); | ||
expect(lib.price.factorFor(material1, {key: 'box', product: products[0], project: projects.hb7})).to.equal(1.5); | ||
expect(lib.price.factorFor(material2, {key: 'box', product: products[0], project: projects.hb7})).to.equal(2); | ||
expect(lib.price.factorFor(material1, {key: 'box', product: products[0], project: projects.hb7})).to.equal(1.33); | ||
expect(lib.price.factorFor(material2, {key: 'box', product: products[0], project: projects.hb7})).to.equal(1.66); | ||
}); | ||
@@ -536,0 +535,0 @@ |
Sorry, the diff of this file is too big to display
889179