Files
rick bb37f83a87
CI / build-and-test (push) Failing after 3h10m29s
CI / docker (push) Has been cancelled
Add smart MoneyInput, DateInput, and expense claim submission form
MoneyInput component:
- Accepts flexible monetary input: 1234.50, 1234,50, 1.234,50, 1,234.50
- Heuristic: if both dot and comma present, last one is decimal separator
- If single separator followed by exactly 3 digits, it's thousands
- Shows "→ formatted" confirmation below the field while typing
- Returns value in cents (Int64) to parent
- Right-aligned monospace display with currency code adornment
- On blur, replaces raw input with formatted value

DateInput component:
- Wrapper around native date picker
- Always stores/communicates ISO 8601 (YYYY-MM-DD)

ExpenseClaimFormPage:
- Description, date, budget account selector, total amount, VAT amount
  (when org VatEnabled), receipt upload, submit button
- Finds system accounts (Expense Claims debt, VAT inbound) automatically
- Shows net amount (excl. VAT) when VAT is entered
- Uploads attached document after claim creation
- Redirects to expense claims list on success
- "File Expense Claim" button added to expense claims list page

Made-with: Cursor
2026-04-13 12:00:36 +02:00
..