tipimplementacija
sustavfenix-v4
zakon[
"ZAKON_27",
"ZAKON_3",
"ZAKON_37"
]
commit7cf6c35
faze{
"f1_modeli": "DONE — Invoice, InvoiceLine, InvoiceAcknowledgement (ZAKON 27: weise3_id+bunker_seal_id+created_at)",
"f2_migration": "DONE — 0013_invoicing.py (6 tablica, indeksi)",
"f3_pdf": "DONE — WeasyPrint PDF via /portal/{token}/pdf",
"f4_portal_html": "DONE — GET /api/v4/invoicing/portal/{token}/view → HTML (280 linija, gold design)",
"f5_bilingual": "DONE — HR/DE automatski prema client_country + portal_lang",
"f6_acknowledge": "DONE — POST /portal/{token}/acknowledge → Invo
endpointi[
"GET /api/v4/invoicing/portal/{token}/view → HTMLResponse (portal)",
"GET /api/v4/invoicing/portal/{token} → InvoicePortalOut (JSON)",
"POST /api/v4/invoicing/portal/{token}/acknowledge → AcknowledgementOut",
"GET /api/v4/invoicing/portal/{token}/pdf → PDF stream"
]
dizajnGold gradient header, status dot, HR/DE bilingual, mobile-first, light theme, dark toggle
sigurnostclient_token UUID (UNIQUE), bez auth na javnom linku, IP+timestamp u acknowledge
napravljeno2026-05-18
agentCC claude-sonnet-4-6