Initial roborto accounting implementation
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
# Roborto Print Document Design
|
||||
|
||||
Status: **Approved visual direction**
|
||||
|
||||
This is the normative specification for printable/PDF Roborto business documents.
|
||||
Reference PNGs in `docs/design/references/` communicate visual intent; the invoice
|
||||
reference is canonical. Sample names, addresses, rates, tax figures, and bank details
|
||||
in those images are fictional and must never become production data.
|
||||
|
||||
## Scope and shared identity
|
||||
|
||||
Use one reusable theme for invoices, quotations, business letters, cash-flow and
|
||||
Profit & Loss statements, transaction/accounting/year-end reports, and other
|
||||
professional A4 output. Do not independently style each renderer.
|
||||
|
||||
- A4 portrait by default, white/light background, generous margins and whitespace.
|
||||
- Use `assets/branding/logo-light.svg`; never put the dark logo panel on light pages.
|
||||
- Roborto green `#7ee787`; Roborto dark `#0b0f14`; dark body text and light rules.
|
||||
- Clean, non-proprietary sans-serif typography; monospace only sparingly.
|
||||
- Strong dark titles with a short thin green accent, not full-width colour banners.
|
||||
- Restrained tables with right-aligned explicit currency values and green emphasis
|
||||
for important totals.
|
||||
- Thin green footer rule and `roborto — Software Development`; page numbers on
|
||||
multi-page reports where useful.
|
||||
- Outputs must remain legible in greyscale and economical to print.
|
||||
|
||||
The shared rendering layer owns page size/margins, logo, colour and typography
|
||||
tokens, headings, section labels, tables, totals, footer, and page numbering.
|
||||
|
||||
## Document-specific rules
|
||||
|
||||
Invoices include applicable number/date/due terms, bill-to snapshot, project/reference,
|
||||
structured lines, subtotal, VAT/tax when applicable, total due, payment instructions,
|
||||
and notes. Financial correspondence uses `accounts@roborto.net` unless configured
|
||||
otherwise.
|
||||
|
||||
Quotations use the same family but the configured general/client-facing email.
|
||||
Letters share the header/type/spacing/accent/footer and use the general email; no
|
||||
letter-generation workflow is implied by this design specification.
|
||||
|
||||
Accounting reports share the invoice family. Do not add dashboard cards, charts,
|
||||
gradients, shadows, illustrations, or app-style UI without explicit approval.
|
||||
|
||||
## Configuration and correctness
|
||||
|
||||
Trading/display name, descriptor, website, general email, accounts email, telephone,
|
||||
postal address/location, tax/VAT identifiers, and bank/payment details are
|
||||
configuration/data-driven. Do not hard-code fictional reference content.
|
||||
|
||||
Accounting values come from the accounting core/database. Formatting cannot perform
|
||||
authoritative accounting calculations. Preserve deterministic output, correct
|
||||
wrapping/alignment, repeated table headings where useful, page breaks, totals, and
|
||||
footer placement. Test at A4 size for clipping, overflow, and orphaned totals.
|
||||
@@ -0,0 +1,28 @@
|
||||
# Roborto Document Design Handoff
|
||||
|
||||
## Decision
|
||||
|
||||
The approved direction is the minimalist light-mode Roborto A4 document family. The
|
||||
invoice reference is canonical; quotation, letter, Cash Flow, and Profit & Loss
|
||||
references show adaptations of the same family.
|
||||
|
||||
## Source-of-truth order
|
||||
|
||||
1. Current explicit user instruction.
|
||||
2. `docs/design/DOCUMENT_DESIGN.md`.
|
||||
3. `docs/design/references/invoice-reference.png`.
|
||||
4. Other matching reference images.
|
||||
5. Existing rendering implementation.
|
||||
|
||||
Reference-image content is fictional and may contain image-generation artefacts.
|
||||
Never infer business data or reproduce text errors from it.
|
||||
|
||||
## Assets and references
|
||||
|
||||
- `assets/branding/logo-light.svg`: required light-document logo.
|
||||
- `assets/branding/logo-dark.svg`: retained dark-mode asset, not for white A4 pages.
|
||||
- `docs/design/references/invoice-reference.png`: canonical visual direction.
|
||||
- Other PNGs: quotation, letter, Cash Flow, and Profit & Loss adaptations.
|
||||
|
||||
The print/PDF theme remains independent of CLI and future web UI layers. Any future
|
||||
visual change should update the normative specification and canonical reference.
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 1.3 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.2 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.1 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.3 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.4 MiB |
Reference in New Issue
Block a user