Commit Graph

359 Commits

Author SHA1 Message Date
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
64f8c44c74 Merge pull request #53 from MR-medreport/MED-105-v3
feat(MED-123): fix medreport.notifications.body only allows 5000 chars, cannot log longer emails
2025-08-18 15:11:20 +03:00
Karli
9995c7d170 feat(MED-123): fix medreport.notifications.body only allows 5000 chars, cannot log longer emails 2025-08-18 15:10:25 +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
07ffd6814e Merge pull request #52 from MR-medreport/MED-105-v3
feat(MED-123): update "order analysis" page
2025-08-18 14:14:45 +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
8a6e805afc Merge pull request #51 from MR-medreport/MED-105-v3
feat(MED-101): disable cart timer, create audit log on "remove item from cart"
2025-08-18 13:28:22 +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
e6d768d6ed Merge pull request #50 from MR-medreport/MED-105-v3
feat(MED-105): update sending test analysis results
2025-08-18 13:20:54 +03:00
Karli
d65a6e8a4a feat(MED-105): update sending test analysis results 2025-08-18 13:20:06 +03:00
44670965ae feat(MED-105): update email 2025-08-16 14:59:46 +03:00
bf61763452 Merge pull request #49 from MR-medreport/MED-105-v3
feat(MED-105): update analysis results view to be by analysis order, create notifications entry on email
2025-08-14 13:00:30 +03:00
4c5ec1cfac feat(MED-105): update orders table to be by each separate order 2025-08-14 12:59:42 +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
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
d3b393156a feat(MED-105): create update_analysis_order_status for cancelling 2025-08-14 01:21:22 +03:00
87751e10b4 feat(MED-105): allow sending partial results in test 2025-08-14 01:20:45 +03:00
8e9da80e5c Merge branch 'main' into MED-105-v3 2025-08-14 01:19:48 +03:00
Helena
c22667dab4 Fix: add missing paths to dropdown (#47) 2025-08-13 14:42:26 +03:00
5bd1483aa8 Run test sync with curl 2025-08-13 13:01:56 +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
5d6aa96324 feat(MED-105): create notifications entry on email 2025-08-13 11:45:04 +03:00
Danel Kungla
ce7b04fda8 feat(mailer): add CONTACT_EMAIL environment variable for email sending 2025-08-13 09:51:20 +03:00
Danel Kungla
00bfb3574e refactor: remove next-transpile-modules and update related configurations 2025-08-12 16:49:33 +03:00
Danel Kungla
e085a69442 feat(billing): remove unused BillingErrorPage component 2025-08-12 16:23:04 +03:00
Danel Kungla
b4a811e781 feat(migrations): add missing fields and triggers for auditing changes in accounts and company_params 2025-08-12 16:07:56 +03:00
danelkungla
b3620fbb19 Merge pull request #46 from MR-medreport/MED-91
Med 91
2025-08-12 15:51:06 +03:00
Danel Kungla
4d1cf6a84a Merge branch 'main' into MED-91 2025-08-12 15:50:40 +03:00
Danel Kungla
4c38da445c Merge branch 'main' into MED-91 2025-08-12 15:50:14 +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
7094523d7e feat(MED-105): reset instrumentation.ts 2025-08-12 12:12:11 +03:00
Danel Kungla
801f5f45e2 Implement code changes to enhance functionality and improve performance 2025-08-11 17:58:36 +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
2c78b921b9 Merge pull request #43 from MR-medreport/MED-105-1108
feat(MED-105): small fixes
2025-08-11 14:06:52 +03:00
91e0987831 feat(MED-105): tooltip content too wide 2025-08-11 14:06:05 +03:00
4d76dd83ad feat(MED-105): disable scheduler 2025-08-11 14:05:54 +03:00
6e63646944 Merge pull request #42 from MR-medreport/MED-105-1108
feat(MED-105): update analysis results page, analysis order new statuses
2025-08-11 10:45:32 +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