* Update expense-form.tsx to handle shares as strings
Proposing fix to #424
The issue is in the data flow between the form and the schema transform function:
When editing existing expenses: Form loads shares by dividing database values by 100 (e.g., 200 / 100 = 2), but loads them as numbers
When users change values: Input fields return strings via enforceCurrencyPattern
Schema transform: Only multiplies by 100 for string values, not number values
Result: Modified shares (strings) get multiplied by 100, unmodified shares (numbers) stay as-is
Proposed fix: handle all shares consistently as strings throughout the form
* Add type assertions to fix TypeScript errors in expense form
Fix formatting.
---------
Co-authored-by: yllar <yllar.pajus@gmail.com>
Clarify group currency field description
Use default currency code instead of symbol
Hide currency symbol field when using a non-custom Currency
Run prettier
Update currency data
Update package-lock.json
* Add health check API endpoint with database connectivity
* Update locale handling to fallback to default language on invalid input
* Add health check endpoints for application readiness and liveness
- Introduced `/api/health/readiness` endpoint to check if the application can serve requests, including database connectivity.
- Introduced `/api/health/liveness` endpoint to verify if the application is running independently of external dependencies.
- Updated the health check logic to streamline database connectivity checks and response handling.
* Refactor health check logic
---------
Co-authored-by: Julen Dixneuf <julen.d@padoa-group.com>
Introduced a mergeDeep helper to merge locale-specific messages with the English defaults. src/i18n.ts now loads both the en-US messages and the selected locale’s messages, merges them, and supplies the result so missing translations appear in English instead of as placeholders.
* add id property to manifest for identity of PWA
* add multiple sizes high quality pngs with transparent background to support multiple sizes
* delete unused png
* Added computed expenses per balance to fix#127
* add missing import that got lost during merge
* if we are in percentage mode or amount mode, the shares have to be multiplied by 100
* install json2csv package
* add necessary labels
* add support convert the JSON to redable CSV format and export
* add a popover to export btton and provide options for exporting to JSON and CSV
* Use a DropdownMenu
* Translations
---------
Co-authored-by: Sebastien Castiel <sebastien@castiel.me>
* feat(expense-list): Display the attachment count only when the expense includes attachments
* handle attachments - singular & plural
* move documents count between amount and date
* Remove label
* Use document count only instead of whole document list
---------
Co-authored-by: Sebastien Castiel <sebastien@castiel.me>