Commit Graph

122 Commits

Author SHA1 Message Date
Helena
86dc221cc6 MED-145: send notification to patient when summary completed (#61)
* MED-145: send notification to patient when summary completed

* MED-145: send notification to patient when summary completed

* use aliased imports where possible, revert cart service urls

* save language preference to local db

* remove unnecessary optional chaning
2025-08-28 13:05:07 +03:00
a547503887 Merge branch 'main' into MED-85 2025-08-27 08:31:26 +03:00
94439432fd feat(MED-85): improve naming 2025-08-27 08:29:36 +03:00
Helena
8c6ce29c23 MED-147: add doctor actions logging (#59)
* MED-147: add doctor actions logging

* enum casing
2025-08-27 08:11:13 +03:00
2b2a0b8bc4 feat(MED-85): update dispatch order to medipost retry 2025-08-27 08:05:52 +03:00
Helena
5d92c34259 MED-56: show specific error when job taken, other small improvements (#58)
* show specific error when job taken, other small improvements

* enum name case

* enum value case, actually
2025-08-26 11:43:31 +03:00
Danel Kungla
dedb42f15b Merge branch 'main' into MED-57 2025-08-26 11:30:34 +03:00
Helena
38d8ca9cfb add isBefore check to previous analysis find 2025-08-25 19:34:47 +03:00
Helena
d017834b8c MED-90: improve doctor analysis detail view (#57)
* add doctor jobs view

* change translation

* another translation change

* clean up

* add analaysis detail view to paths config

* translation

* merge fix

* fix path

* MED-90: improve doctor analysis detail view

* add key
2025-08-25 16:49:04 +03:00
Danel Kungla
4b7d5ff7bb fix(sign-up): move emailRedirectTo option into signUp options 2025-08-25 16:16:56 +03:00
Danel Kungla
81a32199e8 refactor: reorganize imports in various components for consistency 2025-08-25 12:46:24 +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
eb1eeb690b feat(MED-85): create audit logs for medusa admin actions 2025-08-25 11:51:35 +03:00
89d6035151 feat(MED-85): create customer group for company account in Medusa 2025-08-25 11:51:12 +03:00
38d73e27ad feat(MED-121): use age+sex specific analysis package variants 2025-08-25 11:50:03 +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
ee86bb8829 fix(sign-up): remove unused emailRedirectTo option from signUp function 2025-08-25 10:34:43 +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
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
44670965ae feat(MED-105): update email 2025-08-16 14:59:46 +03:00
465d2e0a00 feat(MED-48): update email title 2025-08-14 12:28:41 +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
Helena
3c6c86c7c8 MED-109: add doctor role and basic view (#45)
* MED-109: add doctor role and basic view

* add role to accounts

* remove old super admin and doctor sql
2025-08-13 12:28:50 +03:00
Danel Kungla
00bfb3574e refactor: remove next-transpile-modules and update related configurations 2025-08-12 16:49:33 +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
c3cab7c06d feat: update README for payment process clarity and enhance success notification button behavior 2025-08-11 17:51:35 +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
63b86c0abb feat(MED-87): update status on results 2025-08-11 10:41:01 +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
Danel Kungla
aba4596edd fix: update email recipient logic in renderCompanyOfferEmail function 2025-08-07 18:04:44 +03:00
4617c483fa feat(MED-131): env fix v2 2025-08-04 19:03:18 +03:00
danelkungla
90e0049d65 Merge pull request #41 from MR-medreport/MED-111
feat(MED-111): update navigation links and adjust invitation handling
2025-08-04 18:35:08 +03:00
bd78b28f3c feat(MED-131): move dev envs to .env.development 2025-08-04 18:23:52 +03:00
Danel Kungla
cb7f4f7ba5 feat(MED-111): update navigation links and adjust invitation handling 2025-08-04 18:15:22 +03:00
edfc9776d3 feat(MED-131): remove fake url 2025-08-04 17:56:04 +03:00
74ccbfd4d7 feat(MED-131): update default region 2025-08-04 17:20:23 +03:00
e8dae56d7e feat(MED-131): update type 2025-08-04 16:30:42 +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
853bd75119 feat(MED-131): analysis package has list of medusa product IDs, not medipost IDs 2025-08-04 12:44:36 +03:00
7c3aa45ec7 feat(MED-131): update analyses on package logic 2025-08-04 11:55:23 +03:00