Commit Graph

86 Commits

Author SHA1 Message Date
bfadf56173 feat(MED-161): update analysis results view 2025-09-17 11:17:36 +03:00
7af6aa438e feat(MED-161): store more fields about medipost analysis response 2025-09-17 11:15:55 +03:00
0e063cd5dc 'medreport.update_account' should also update email 2025-09-09 09:56:12 +03:00
aa441d4055 update medreport.accounts with keycloak data when supabase auth.user is created 2025-09-08 01:05:02 +03:00
Helena
9122acc89f MED-151: add profile view and working smoking dashboard card (#71)
* MED-151: add profile view and working smoking dashboard card

* update zod

* move some components to shared

* move some components to shared

* remove console.logs

* remove unused password form components

* only check null for variant

* use pathsconfig
2025-09-04 12:17:54 +03:00
Helena
3498406a0c MED-88: add doctor email notifications (#65)
* MED-88: add doctor email notifications

* add logging, send open jobs notification on partial analysis response

* update permissions

* fix import, permissions

* casing, let email be null

* unused import
2025-09-02 12:14:01 +03:00
d83319a094 Merge branch 'main' into MED-85 2025-08-29 11:45:36 +03:00
Danel Kungla
5479f310d7 Merge branch 'main' into MED-104 2025-08-29 09:46:04 +03:00
71f5a25632 Merge branch 'main' into MED-85 2025-08-28 14:57:09 +03:00
d072226a5c feat(MED-105): organize env specific required migrations 2025-08-28 14:54:51 +03:00
da7f574234 feat(MED-86): user can see in Medusa BO if sending order to medipost succeeded 2025-08-28 14:42:07 +03:00
b3505c1627 feat(MED-100): show cart line item quantities total instead of items total count 2025-08-28 14:41:59 +03:00
b931035c3b feat(MED-86): add db fn to show medipost dispatch error for order in Medusa 2025-08-28 13:36:07 +03:00
Danel Kungla
31bc4b6cff initial commit 2025-08-28 13:15:39 +03:00
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
2ffad84100 feat(MED-105): log opening analysis results from orders view 2025-08-28 12:35:30 +03:00
b4985afdf0 feat(MED-85): add logging for medipost response error xml 2025-08-28 12:25:18 +03:00
a37c4cad9c feat(MED-85): add logging for medipost actions with xml and related order id 2025-08-28 11:56:07 +03:00
47ab39172e feat(MED-85): run sending fake medipost results in dev from Medusa BO 2025-08-28 10:30:43 +03:00
d760f86632 feat(MED-85): run force medipost results sync from Medusa BO 2025-08-28 09:54:32 +03:00
a547503887 Merge branch 'main' into MED-85 2025-08-27 08:31:26 +03:00
a03db16092 feat(MED-85): add get_order_possible_actions function for backoffice 2025-08-27 08:27:44 +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
Danel Kungla
db6d29c208 feat: update audit logging function for tracking changes in database 2025-08-26 16:13:17 +03:00
Danel Kungla
dedb42f15b Merge branch 'main' into MED-57 2025-08-26 11:30:34 +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
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
828f32ee81 feat(MED-85): create audit log on orders view + export csv 2025-08-25 11:51:43 +03:00
eb1eeb690b feat(MED-85): create audit logs for medusa admin actions 2025-08-25 11:51:35 +03:00
811e860965 feat(MED-85): fix delete company account error 2025-08-25 11:51:27 +03:00
89d6035151 feat(MED-85): create customer group for company account in Medusa 2025-08-25 11:51:12 +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
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
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
5ff0500a9a Merge branch 'main' into MED-105-v3 2025-08-14 12:21:46 +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
d3b393156a feat(MED-105): create update_analysis_order_status for cancelling 2025-08-14 01:21:22 +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
b4a811e781 feat(migrations): add missing fields and triggers for auditing changes in accounts and company_params 2025-08-12 16:07:56 +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
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
Danel Kungla
cb7f4f7ba5 feat(MED-111): update navigation links and adjust invitation handling 2025-08-04 18:15:22 +03:00
5966fb2a77 feat(MED-131): store medusa_store_id along with analysis_order 2025-08-04 11:52:39 +03:00