fix: COLUMNS uppercase → DOCUMENT_ID/ID/TYPE (v1.0.62)

This commit is contained in:
2026-06-19 10:58:20 +04:00
parent b5be3f96c7
commit 27a43725cd
+5 -5
View File
@@ -61,7 +61,7 @@
<body>
<div class="topbar">
<img src="/nubes-logo.svg" alt="Nubes">
<span class="title">Сверка договоров — LLM <span style="font-weight:400;color:var(--muted);font-size:12px;">v1.0.61 — Lucee</span></span>
<span class="title">Сверка договоров — LLM <span style="font-weight:400;color:var(--muted);font-size:12px;">v1.0.62 — Lucee</span></span>
</div>
<div class="content">
@@ -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;
}
}
});