Commit Graph

124 Commits

Author SHA1 Message Date
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
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
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
49fc75b17b feat(MED-105): update analysis results page 2025-08-11 09:21:06 +03:00
Danel Kungla
cb7f4f7ba5 feat(MED-111): update navigation links and adjust invitation handling 2025-08-04 18:15:22 +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
91f6dd11be feat(MED-131): handle analysis order 2025-08-04 11:53:04 +03:00
b665678dbb feat(MED-131): display analyses options and add to cart 2025-08-04 11:51:49 +03:00
8c4df731aa feat(MED-131): show package analysis elements in comparison modal 2025-08-04 11:51:38 +03:00
Danel Kungla
0254805743 use isikukood library to validate in zod 2025-08-04 11:32:41 +03:00
Danel Kungla
6ba33a99b2 clean 2025-07-31 12:31:58 +03:00
Danel Kungla
7031bc1176 Merge branch 'main' into MED-111 2025-07-31 12:30:25 +03:00
Danel Kungla
a39c21e4e7 fix company creation for admin and inviting of new employees 2025-07-31 12:27:30 +03:00
23a07658c9 feat(MED-85): redirect to dashboard after MFA is done 2025-07-31 12:00:51 +03:00
790103a55f Merge pull request #38 from MR-medreport/MED-48
feat(MED-48 MED-100): update products -> cart -> montonio -> orders flow, send email
2025-07-24 10:26:34 +03:00
894cf1b454 feat(MED-100): partner location metadata stored on order line instead of order 2025-07-24 09:23:44 +03:00
349e3e3143 feat(MED-50): use account_params in dashboard 2025-07-24 08:38:12 +03:00
23f656ccc9 feat(MED-100): analysis package products by product type 2025-07-24 08:04:04 +03:00
e59ad6af00 feat(MED-100): update montonio redirect 2025-07-24 08:03:55 +03:00
Danel Kungla
86b86c6752 add health benefit form
fix super admin
2025-07-23 16:33:24 +03:00
Danel Kungla
8e4d634a7d fix build 2025-07-21 13:56:52 +03:00
15ed539283 Merge branch 'main' into feature/MED-100 2025-07-21 11:38:47 +03:00
Danel Kungla
eec8a12db2 feat: fix lucide-react renders
feat: fix mobile designs
feat: remove conflicting react-hook-form
feat: change update-account-form path
2025-07-18 17:19:12 +03:00
c8e5d8835b Merge branch 'main' into MED-122 2025-07-18 16:11:50 +03:00
Danel Kungla
3a5058fc44 Merge branch 'main' into MED-105 2025-07-18 15:35:44 +03:00
Danel Kungla
dca5f04739 add env logging 2025-07-17 12:39:21 +03:00
7ccc45ce77 feat(MED-100): show toast on delete 2025-07-17 10:44:05 +03:00
55869ea16f feat(MED-100): create medusa store account for user 2025-07-17 10:19:27 +03:00
736194bb0b feat(MED-100): updateaccountform should be prefilled 2025-07-17 10:17:50 +03:00
6426e2a79b feat(MED-100): update cart checkout flow and views 2025-07-17 10:16:52 +03:00
00b079e170 feat(MED-122): fix error in case of cart without shipping 2025-07-17 10:05:55 +03:00
Danel Kungla
87dfcf55e6 MED-105: create analysis results page 2025-07-15 17:12:52 +03:00
ad213dd4f8 feat(MED-122): consistently format name in titlecase 2025-07-10 13:19:28 +03:00
0a0b1f0dee feat(MED-122): update current user account loader 2025-07-10 13:19:01 +03:00
bbcf0b6d83 feat(MED-122): update analysis packages page, pageheader 2025-07-10 11:36:57 +03:00
Danel Kungla
c5ddccc15d fix build 2025-07-09 14:01:43 +03:00
Danel Kungla
d9198a8a12 add medreport schema 2025-07-09 13:31:37 +03:00
Danel Kungla
9371ff7710 feat: update API and database structure for membership confirmation and wallet integration
- Refactor API calls to use 'medreport' schema for membership confirmation and account updates
- Enhance success notification component to include wallet balance and expiration details
- Modify database types to reflect new 'medreport' schema and add product-related tables
- Update localization files to support new wallet messages
- Adjust SQL migration scripts for proper schema references and function definitions
2025-07-09 10:01:12 +03:00
Danel Kungla
4f36f9c037 refactor: clean up imports and enhance error logging in user workspace and team invitations actions 2025-07-08 18:34:21 +03:00