Add receipts, suppliers and a top navigation bar

Receipts and invoices: attach photos and PDFs to transactions, read the
supplier, date, total, GST and line items with Tesseract OCR, and match
them to bank transactions by amount and date. Receipts can have several
pages, and hand corrections survive re-reading.

Suppliers: saved suppliers that uploads are linked to by GST number or
name.

The sections (cashbook, receipts, invoices, customers, suppliers,
mileage, statements) move to a top bar, with the book controls in a row
beneath it, and the layout works on phones.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
jimmyandClaude Opus 5.5 committed 2026-10-25 19:05:44 +13:00
1 parent 177dfbc0a4
commit 708ce8352e
13 files changed
+1944 -87

No files matched your search

+4
View File
@@ -11,12 +11,14 @@ import ledger
from cashbook_app import config
from cashbook_app.db.models import Base
from cashbook_app.db.session import get_engine, get_session_factory
from cashbook_app.routers.attachments import router as attachments_router
from cashbook_app.routers.auth_routes import router as auth_router
from cashbook_app.routers.books import router as books_router
from cashbook_app.routers.frontend import router as frontend_router
from cashbook_app.routers.invoices import router as invoices_router
from cashbook_app.routers.mileage import router as mileage_router
from cashbook_app.routers.statements import router as statements_router
from cashbook_app.routers.suppliers import router as suppliers_router
from cashbook_app.routers.users_admin import router as users_router
from cashbook_app.services import accounts, spreadsheets
@@ -121,8 +123,10 @@ def create_app() -> FastAPI:
app.include_router(users_router)
app.include_router(books_router)
app.include_router(statements_router)
app.include_router(attachments_router)
app.include_router(invoices_router)
app.include_router(mileage_router)
app.include_router(suppliers_router)
return app