Commit Graph

271 Commits

Author SHA1 Message Date
Danel Kungla
d57c691a71 update pnpm-lock 2025-08-25 12:57:39 +03:00
Helena
7ac31991c0 fix import paths 2025-08-25 12:52:28 +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
d8c617eb34 fix(utils): round BMI calculation to return a valid number or NaN 2025-08-22 09:16:06 +03:00
Danel Kungla
9a5cf3ea84 refactor(accounts): remove translation for create company account button 2025-08-21 23:04:41 +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
6f67a21cc1 refactor(footer, header): remove unused components and clean up code 2025-08-21 21:30:29 +03:00
danelkungla
8dfa0e5f4a Merge pull request #54 from MR-medreport/MED-57
MED-57: Team account dashboard
2025-08-18 17:57:42 +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
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