@davoodmehraban89 / Factor-easy / commits / 833b4e9
Fork 0

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

Require C7 OCR source attachment binding

davoodmehraban89 committed Oct 1, 2026 at 00:30 UTC 833b4e9ed891de8eaf371f1b29b04219ba87c63e
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');