Commit Graph

98 Commits

Author SHA1 Message Date
Danel Kungla
a088da28d8 refactor: reorder import statements for improved clarity and consistency 2025-08-25 15:22:13 +03:00
Danel Kungla
81a32199e8 refactor: reorganize imports in various components for consistency 2025-08-25 12:46:24 +03:00
Danel Kungla
63c5caca3d fix(page): remove unused imports from TeamAccountHomePage component 2025-08-25 12:25:27 +03:00
Danel Kungla
e0a8173368 Merge branch 'main' into MED-57 2025-08-25 12:25:18 +03:00
Danel Kungla
56ffd7591e feat(team-accounts): enhance team account statistics and health details components with new data and improved calculations 2025-08-25 12:24:27 +03:00
Helena
195af1db3d MED-137: add doctor other jobs view (#55)
* add doctor jobs view

* change translation

* another translation change

* clean up

* add analaysis detail view to paths config

* translation

* merge fix

* fix path

* move components to shared

* refactor

* imports

* clean up
2025-08-25 11:12:57 +03:00
Danel Kungla
1fb8df7c89 feat(dashboard, api): integrate BMI thresholds and enhance dashboard with health metrics 2025-08-21 22:09:17 +03:00
Danel Kungla
b1b0846234 feat(dashboard, api): enhance dashboard card calculations and add team membership check 2025-08-21 21:32:22 +03:00
Danel Kungla
492327c5c7 feat(account): add team membership check and refactor user account loading in HomeLayout 2025-08-21 21:32:17 +03:00
Danel Kungla
cdf1491e53 refactor(auth): remove personal code from sign-up flow and update related components
feat(i18n): update translations for company account creation and get started
2025-08-21 21:32:03 +03:00
Danel Kungla
2b79a9e401 Refactor team account statistics and health details
- Simplified the TeamAccountStatistics component by removing unused code and integrating translation for health details.
- Updated the load-team-account-health-details to calculate average BMI based on member parameters.
- Adjusted the billing page to correctly reference the number of team members.
- Enhanced the main account page to pass member parameters to the Dashboard component.
- Modified the admin account page to destructure member data from the API response.
- Updated the TeamAccountsApi to return member parameters alongside member data.
- Added new translations for health details in Estonian locale.
2025-08-18 16:50:26 +03:00
Danel Kungla
937f3e4a71 feat(account): refactor team account retrieval and update SQL function for workspace 2025-08-18 15:59:59 +03:00
Danel Kungla
1427bcd5a9 Merge branch 'main' into MED-57 2025-08-18 15:15:27 +03:00
Danel Kungla
c48a4b482f feat(dashboard): add dynamic loading for dashboard component
feat(team-account-benefit-statistics): implement benefit statistics card with budget and booking details

feat(team-account-health-details): create health details component displaying account health metrics

feat(team-account-statistics): develop team account statistics page with charts and customer table

feat(load-team-account-health-details): add server-side function to retrieve account health details

chore(migrations): create trigger for logging changes in account memberships
2025-08-18 14:54:46 +03:00
Karli
2f732b254f feat(MED-123): log order analysis page view 2025-08-18 14:11:27 +03:00
Karli
abf455117d feat(MED-123): analysis to order can be not-available 2025-08-18 14:11:19 +03:00
Karli
9b50b0f92a feat(MED-123): update dashboard cards for "order analysis" 2025-08-18 13:58:42 +03:00
Karli
ec866c7f29 feat(MED-101): add audit log to cart item delete 2025-08-18 13:27:13 +03:00
Karli
43117985dd feat(MED-101): disable timer until TTO products are used 2025-08-18 13:21:56 +03:00
Karli
d65a6e8a4a feat(MED-105): update sending test analysis results 2025-08-18 13:20:06 +03:00
4c5ec1cfac feat(MED-105): update orders table to be by each separate order 2025-08-14 12:59:42 +03:00
5ff0500a9a Merge branch 'main' into MED-105-v3 2025-08-14 12:21:46 +03:00
1285b02f9c feat(MED-105): update analysis results view to be by analysis order 2025-08-14 12:10:12 +03:00
Helena
b4b75438d2 Fix: add application_role to account-related fields (#48)
* Fix: fix accounts view, menu

* add migration

* add application_role to account-related fields
2025-08-14 11:40:53 +03:00
Danel Kungla
bbb5e83ed9 feat(audit): implement page view logging for membership confirmation and analysis results 2025-08-14 09:37:03 +03:00
Danel Kungla
536f915c69 fix: ensure form resets and button state reflects dirty status 2025-08-14 09:24:20 +03:00
5d6aa96324 feat(MED-105): create notifications entry on email 2025-08-13 11:45:04 +03:00
Danel Kungla
e085a69442 feat(billing): remove unused BillingErrorPage component 2025-08-12 16:23:04 +03:00
Danel Kungla
3295ce7d04 feat(auth): refactor account submission data structure and remove unused billing error component 2025-08-12 15:47:01 +03:00
Danel Kungla
801f5f45e2 Implement code changes to enhance functionality and improve performance 2025-08-11 17:58:36 +03:00
Danel Kungla
99ba14bab2 Refactor code structure and remove redundant sections for improved readability and maintainability 2025-08-11 17:51:12 +03:00
Danel Kungla
9298abe354 feat(billing): enhance health benefit form and yearly expenses overview with employee count and loading state 2025-08-11 15:04:16 +03:00
5264455793 feat(MED-87): improve naming 2025-08-11 10:44:53 +03:00
63b86c0abb feat(MED-87): update status on results 2025-08-11 10:41:01 +03:00
d582e222ce feat(MED-105): update order details redirect and shown page 2025-08-11 09:21:40 +03:00
556d7bd321 feat(MED-105): show analysis date in tooltip for now 2025-08-11 09:21:33 +03:00
37f233e363 feat(MED-105): show empty text on no ordered analyses 2025-08-11 09:21:27 +03:00
c8621c4453 feat(MED-105): sort analysis result elements by date 2025-08-11 09:21:20 +03:00
83fff1ffe7 feat(MED-105): create audit entry on analysis results view 2025-08-11 09:21:13 +03:00
49fc75b17b feat(MED-105): update analysis results page 2025-08-11 09:21:06 +03:00
09155ae110 feat(MED-131): revert to use server action for montonio token for revalidateTag 2025-08-05 10:59:44 +03:00
d9b619d560 feat(MED-131): rerun 2025-08-05 10:33:59 +03:00
e375f22b57 feat(MED-131): route sometimes redirects back to login instead 2025-08-05 10:07:59 +03:00
47675252ed feat(MED-131): conditional env 2025-08-04 18:31:17 +03:00
edfc9776d3 feat(MED-131): remove fake url 2025-08-04 17:56:04 +03:00
0ba23b6c8e feat(MED-131): show other (non analysis-package) orders 2025-08-04 17:32:54 +03:00
0a4be89fc9 feat(MED-131): initial fix for analysis results table so result elements are shown correctly 2025-08-04 16:28:57 +03:00
8790b515d5 feat(MED-131): fix medusa vs medipost vs b2b product ids mixed 2025-08-04 16:27:54 +03:00
36816cfcd5 feat(MED-131): improve logging, error validation 2025-08-04 16:26:26 +03:00
58e2b8dc81 feat(MED-131): send to medipost on montonio callback 2025-08-04 16:24:28 +03:00