@davoodmehraban89 / Factor-easy-2 Mirror · read-only / commits / c7baad8
Fork 0

سامانه صدور فاکتور و حسابداری

Mirrored from https://github.com/davoodmehraban89/Factor-easy.git

Synced Dec 3, 18:15 UTC

Require C7 OCR source attachment binding

davoodmehraban89 committed Oct 1, 2026 at 00:31 UTC c7baad8446f81c2d060281c818b00bb91824089e
1 file changed +2
scripts/office-slice-c7-check.mjs
+2
@@ -13,6 +13,8 @@ need(m,/to_tsvector/i,'Postgres full-text document');
13 need(m,/private\.can_access_record/i,'record authorization');
14 need(m,/archive query too long/i,'bounded search query');
15 need(m,/archive result limit out of range/i,'bounded result count');
16 +need(m,/correspondenceAttachments/i,'OCR source attachment binding');
17 +need(m,/OCR source attachment not found for correspondence/i,'reject unbound OCR source reference');
18 need(m,/real Persian OCR|does not perform OCR|no OCR/i,'OCR accuracy/provider boundary');
19 const ui=fs.readFileSync('js/office-mature.js','utf8');
20 need(ui,/officeRecordOcrEvidence/i,'OCR evidence UI');