|
@@ -346,7 +346,7 @@ let executeObj = {
|
|
|
let mds = projectObj.project.composition.getCompositionByGLJ(glj);
|
|
|
if (!mds) mds = [];
|
|
|
for (let md of mds){
|
|
|
- if (base.gljTypes.indexOf(md.glj_type) >= 0) {
|
|
|
+ if (base.gljTypes.indexOf(md.type) >= 0) {
|
|
|
let q = md["consumption"] ? md["consumption"] : 0;
|
|
|
let p = md["basePrice"] ? md["basePrice"] : 0;
|
|
|
mdSum = mdSum + (q * p).toDecimal(decimalObj.process);
|