diff --git a/index.cfm b/index.cfm
index 4940c5e..8a6e088 100644
--- a/index.cfm
+++ b/index.cfm
@@ -61,7 +61,7 @@

-
Сверка договоров — LLM v1.0.61 — Lucee
+
Сверка договоров — LLM v1.0.62 — Lucee
@@ -335,10 +335,10 @@ async function refreshSupps() {
data.COLUMNS.forEach(function(c, ci) { supp[c] = r[ci]; });
console.log('refreshSupps: supp=', supp);
for (var i = 0; i < fileQueue.length; i++) {
- console.log(' cmp: doc_id=' + fileQueue[i].doc_id + ' vs document_id=' + supp.document_id + ' match=' + (fileQueue[i].doc_id === supp.document_id));
- if (fileQueue[i].doc_id === supp.document_id) {
- fileQueue[i].supp_id = supp.id;
- fileQueue[i].supp_type = supp.type;
+ console.log(' cmp: doc_id=' + fileQueue[i].doc_id + ' vs DOCUMENT_ID=' + supp.DOCUMENT_ID + ' match=' + (fileQueue[i].doc_id === supp.DOCUMENT_ID));
+ if (fileQueue[i].doc_id === supp.DOCUMENT_ID) {
+ fileQueue[i].supp_id = supp.ID;
+ fileQueue[i].supp_type = supp.TYPE;
}
}
});