صفحة داخلية للمراجعةدليل متصفحنموذج قراءة محليبلا تعديل

دليل المتصفح لمعاينة طباعة سند قبض / دفع

صفحة داخلية للمراجعة وليست شاشة إدخال نهائية.

خطوات تحقق يدوية بلا ملفات مولدة

للتحقق اليدوي، شغل تطبيق web محليا ثم افتح /accounting/receipt-payment-voucher/print-preview في المتصفح. راجع أن المستند يظهر من local printable read-model، وأن route reachability وreadability وlegacy parity وPDF/export/download blockers وAI review-only evidence ظاهرة. لا تلتزم بصور شاشة أو tmp outputs أو أي generated artifacts.

Route/read-model evidence matrix

مصدر العرض هو Wave 240 local printable read-model for /accounting/receipt-payment-voucher/print-preview. لا يوجد backend read-model endpoint ولا API fetch ولا server action.

Route reachability / قابلية فتح المسار/accounting/receipt-payment-voucher/print-previewافتح المسار في المتصفح وتحقق أن عنوان معاينة طباعة سند قبض / دفع V1 يظهر من App Router file.
Read-model source / مصدر القراءةapps/web/app/accounting/receipt-payment-voucher/print-preview/receipt-payment-printable-read-model.tsالصفحة تستخدم local printable read-model باسم receiptPaymentPrintableReadModel ولا تعتمد على endpoint.
Static browser preview / معاينة ثابتةlocal-only browser previewالمعاينة تعرض بيانات محلية فقط: header, identity, scope, party, cash-bank, amount, allocation, memo, signatures.
No accounting mutation / بلا تغيير محاسبيnon-mutatingلا يوجد save أو approval أو posting أو journal أو stock أو audit أو domain أو outbox mutation.

Browser smoke command/checklist

هذا smoke checklist يدعم browser-testable evidence بلا screenshots ولا tmp outputs ولا generated artifacts. الهدف هو إثبات route reachability وstatic build listing وغياب PDF/export/download.

Start web app locally / تشغيل الواجهة محلياpnpm --filter @lebanon-accounting/web devNext.js serves the web app on a local port without adding files.
Open print preview route / فتح معاينة الطباعة/accounting/receipt-payment-voucher/print-previewThe browser shows معاينة طباعة سند قبض / دفع V1.
Open browser evidence route / فتح دليل المتصفح/accounting/receipt-payment-voucher/print-preview/browser-evidenceThe browser shows دليل المتصفح لمعاينة طباعة سند قبض / دفع.
Verify both routes return 200 OK / تحقق من HTTPcurl -I each routeBoth routes return HTTP 200 OK when the local server is running.
Verify static build lists both routes / تحقق من buildpnpm buildBuild output lists the print preview route and browser evidence route as static app routes.
Verify no generated artifacts are staged / تحقق من الملفاتgit status --shortNo screenshots, tmp outputs, generated images, archives, .next, dist, or coverage files are staged.
Verify no report output exists / تحقق من منع التقاريرreview visible blockersNo PDF/export/download action, file, package, renderer, or output exists.

Visual/readability checklist

Visible check / فحص مرئيbrowser-readableرأس الشركة وعنوان المستند واضحان في أول مساحة قابلة للمراجعة.
Visible check / فحص مرئيbrowser-readableنوع السند ورقم السند وتاريخ السند ظاهرة كحقول placeholder حتى وجود عقد حفظ وقراءة.
Visible check / فحص مرئيbrowser-readableسياق الشركة والسنة والفترة يبقى ظاهرا قبل أي ترحيل.
Visible check / فحص مرئيbrowser-readableسياق الطرف وحركة الصندوق / البنك والمبلغ والعملة لا يختلط مع ledger truth.
Visible check / فحص مرئيbrowser-readableجدول allocation rows يعرض الحساب والوصف والمرجع ومركز الكلفة والمدين والدائن.
Visible check / فحص مرئيbrowser-readablememo/notes والتواقيع محفوظة كمناطق قراءة محلية قابلة للمراجعة.

Legacy visual acceptance matrix

هذه matrix تحول المعاينة من checklist فقط إلى acceptance evidence: expected visible area، سبب legacy parity، وV1 blocker إذا لم تكتمل.

Company/document headerLegacy printed vouchers start with company identity and document title.Complete branding, legal footer, and renderer-specific layout remain blocked.
Voucher number/date/typeLegacy users identify receipt versus payment by type, number, and date.Number, date persistence, and final mode wording remain placeholders until save/read contracts exist.
Accounting scopeCompany, fiscal year, and period must stay visible for accounting review.Persisted scope IDs and backend read-model state remain blocked.
Party/account contextLegacy review depends on payer/payee and account context before printing.Persisted party/account lookup truth remains blocked.
Cash/bank movementReceipt and payment direction must be readable without implying posting.Actual cash/bank ledger movement remains blocked.
Amount/currencyA printable voucher must show amount and currency clearly.Ledger truth, exchange handling, and rounding contracts remain blocked.
Allocation rowsLegacy documents show account allocation detail for review.Saved allocations and journal creation remain blocked.
Memo/notesPrintable vouchers need a notes area for human review.Persisted document notes and template storage remain blocked.
Prepared/reviewed/received/signaturesLegacy forms reserve signature lines for workflow accountability.Approval workflow, signer identity, and audit lifecycle remain blocked.
AI review-only noteAI can help reviewers understand visible gaps without becoming truth.AI-created accounting truth and operational report output remain blocked.
Blocked PDF/export/downloadThe page must be honest that reports are not operational yet.Renderer, storage, delivery, authorization, and download remain blocked.

Legacy document parity checklist

Legacy parity / مطابقة المستند القديمlocal evidenceCompany/document header represented locally.
Legacy parity / مطابقة المستند القديمlocal evidenceVoucher identity represented as safe placeholders.
Legacy parity / مطابقة المستند القديمlocal evidenceAccounting scope represented locally with company, fiscal year, and period.
Legacy parity / مطابقة المستند القديمlocal evidenceParty/account and cash-bank movement represented as display-only context.
Legacy parity / مطابقة المستند القديمlocal evidenceAllocation table represented with local sample rows.
Legacy parity / مطابقة المستند القديمlocal evidenceMemo and prepared/reviewed/received/signature placeholders represented locally.
Legacy parity / مطابقة المستند القديمlocal evidenceOperational print/export parity remains blocked until renderer, storage, delivery, authorization, audit, and backend read-model contracts exist.

Print/readiness failure-state matrix

إذا ظهرت أي failure signal، فالاستجابة الآمنة هي إبقاء workflow محليا ومقروءا في المتصفح مع منع action الحي حتى يوجد عقد حقيقي.

Route not reachableTreat browser evidence as not proven; use build output and local server logs to diagnose.Do not claim browser reachability or report readiness.
Read-model missingKeep the preview blocked until receiptPaymentPrintableReadModel is restored.Do not wire backend fetch or create replacement truth.
Layout labels missingRestore visible واجهة عربية labels before any owner acceptance claim.Do not accept V1 visual parity.
Signatures missingRestore prepared/reviewed/received/signature placeholders in the browser.Do not claim legacy form parity.
PDF/export accidentally enabledRemove the action and return to browser-only evidence.Do not produce files, downloads, packages, or renderer output.
AI shown as accounting truthChange AI wording back to review-only helper context.Do not use AI to create voucher truth, approvals, postings, or report output.
Backend mutation accidentally addedRemove mutation wiring and keep route static/local until a real contract is approved.Do not save, approve, post, create journals, mutate stock, or write audit/domain/outbox state.

PDF/export/download blockers

Blocked report action / إجراء تقرير ممنوعblockedPDF/export/download blocked: no report renderer exists.
Blocked report action / إجراء تقرير ممنوعblockedPDF/export/download blocked: no persisted print template exists.
Blocked report action / إجراء تقرير ممنوعblockedPDF/export/download blocked: no file storage or delivery authorization exists.
Blocked report action / إجراء تقرير ممنوعblockedPDF/export/download blocked: no backend read-model endpoint exists.
Blocked report action / إجراء تقرير ممنوعblockedPDF/export/download blocked: no audit or report-delivery lifecycle exists.

Eli/V1 owner acceptance panel

Eli acceptance هنا يعني قبول preview مرئي وآمن للـ V1، وليس قبول report renderer أو backend workflow. لا يوجد external owner decision blocker لهذه المعاينة المحلية.

What Eli should visually checkV1 owner evidenceHeader, voucher type/date/number placeholders, scope, party/account, cash-bank movement, amount/currency, allocation rows, memo, signatures, blockers, and AI review-only note.
What is accepted for V1V1 owner evidenceA browser-readable local print preview from a typed read-model, with route evidence and honest blocked actions.
What remains blocked after V1 previewV1 owner evidenceBackend read-model endpoint, save lifecycle, approval, posting, journal creation, stock mutation, renderer, PDF/export/download, storage, delivery, audit, and operational report output.
No external owner decision blockerV1 owner evidenceThe browser preview can be accepted as a V1-safe local evidence surface without waiting for owner decisions about live reports or backend mutations.

AI review-only/non-mutating evidence

Missing-field reviewAI may explain visible placeholder fields and blocked areas.AI cannot invent voucher number, ledger truth, approval, posting, print, export, download, or report output.
Readable preview summaryAI may summarize the visible browser preview for human review.AI cannot create accounting truth or replace the local printable read-model.
Report readinessAI may describe renderer, storage, delivery, and endpoint blockers.AI cannot produce an operational report or file artifact.

No generated artifact policy

Artifact policy / سياسة الملفاتsource-only evidenceManual browser checks may inspect the route locally without committing screenshots.
Artifact policy / سياسة الملفاتsource-only evidenceDo not stage screenshots, tmp outputs, image files, archives, or browser cache artifacts.
Artifact policy / سياسة الملفاتsource-only evidenceThis evidence page is the committed evidence surface; runtime visual proof stays local and unstaged.
Artifact policy / سياسة الملفاتsource-only evidenceNo PDF/export/download artifact is produced by this route.