ellisran пре 4 дана
родитељ
комит
7fedc086ab
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      app/public/js/cost_gather.js

+ 2 - 2
app/public/js/cost_gather.js

@@ -79,7 +79,7 @@ $(document).ready(() => {
                     this.tree.nodes.forEach(x => { x[col.field] = 0; });
                 }
                 for (const s of gp.stages) {
-                    for (b of s.detail.bills) {
+                    for (const b of s.detail.bills) {
                         const node = this.tree.nodes.find(x => { return x.cost_id === b.cost_id; });
                         if (!node) continue;
                         for (const lf of loadFields) {
@@ -183,4 +183,4 @@ $(document).ready(() => {
             ledgerGatherSpread.refresh();
         }
     });
-});
+});