Files
evidencija-rezija/app/ui
Knee Cola c025c6f2ce Update formatCurrency to use currency code from UserSettings
Changes:
- Updated formatCurrency function:
  - Added currencyCode parameter with EUR default
  - Implemented Intl.NumberFormat for proper currency formatting
  - Added fallback for invalid currency codes
- Updated component hierarchy to pass currency:
  - HomePage: Fetch userSettings and pass to MonthLocationList
  - MonthLocationList: Accept and pass currency to child components
  - LocationCard: Accept currency prop and use in formatCurrency
  - MonthCard: Accept currency prop and use in formatCurrency
  - ViewLocationCard: Pass currency from userSettings to formatCurrency
- Removed hardcoded $ symbols, now using proper currency formatting

All currency amounts now display with the user's selected currency code
from their settings, using locale-appropriate formatting (hr-HR).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-22 23:04:42 +01:00
..
2023-12-27 15:45:49 +01:00
2023-12-27 15:45:49 +01:00
2023-12-27 15:45:49 +01:00
2023-12-27 15:45:49 +01:00
2024-02-17 08:32:53 +01:00
2024-02-16 17:40:45 +01:00
2025-10-15 16:58:24 +02:00
2024-02-17 10:14:46 +01:00
2024-02-19 09:32:38 +01:00