@davoodmehraban89 / Factor-easy / commits / 835cf94
Fork 0

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

Set runtime health version to Finora 1.0

davoodmehraban89 committed Sep 28, 2026 at 16:01 UTC 835cf94353312c3367ea9c2e9a167b2e37d228dd
1 file changed +2 -2
js/selfcheck.js
+2 -2
@@ -35,9 +35,9 @@
35 if(p.invoiceType==='purchase'&&p.invoiceId&&!getMyPurchases().some(i=>i.id===p.invoiceId))dataIssues.push('پرداخت '+p.id+' به فاکتور خرید ناموجود متصل است.');
36 });
37 }
38 - return {ok:missingFunctions.length===0&&missingElements.length===0&&dataIssues.length===0,missingFunctions,missingElements,dataIssues,checkedAt:new Date().toISOString(),version:'8.1-reviewed'};
38 + return {ok:missingFunctions.length===0&&missingElements.length===0&&dataIssues.length===0,missingFunctions,missingElements,dataIssues,checkedAt:new Date().toISOString(),version:'1.0'};
39 }
40 const prev=window.FinoraHealth||{};
41 - window.FinoraHealth=Object.assign(prev,{version:'8.1-reviewed',run});
41 + window.FinoraHealth=Object.assign(prev,{version:'1.0',run});
42 document.addEventListener('DOMContentLoaded',()=>{const r=run();if(!r.ok)console.warn('Finora self-check',r);});
43 })();
\ No newline at end of file