Commit Graph

274 Commits

Author SHA1 Message Date
Danel Kungla
2e62e4b0eb move selfservice tables to medreport schema
add base medusa store frontend
2025-07-07 13:46:22 +03:00
Helena
848dbb1618 move product_id to medusa_product_id, make all product relations one-to-one (#30)
Co-authored-by: Helena <helena@Helenas-MacBook-Pro.local>
2025-07-04 14:33:23 +03:00
Helena
ad08155063 B2B-87: add company statistics consent (#29)
* B2B-87: add company statistics consent

* add toggle for company statistics consent under profile

* add toggle for company statistics consent under profile

* add audit logging to accounts

* change policy

* add audit logging to accounts

* remove full account data query and just query the entire account every time

* add comment about consent toggle

* make constants hardcoded, as dynamic ones do not work

* add back pending check

---------

Co-authored-by: Helena <helena@Helenas-MacBook-Pro.local>
2025-07-03 17:55:23 +03:00
aleksei-milisenko-at-mountbirch
517dce3146 B2B-32: fix invitation validation by personal code 2025-07-02 20:34:19 +03:00
devmc-ee
11e9762699 B2B-32: fix invitation validation by personal code 2025-07-02 19:46:38 +03:00
aleksei-milisenko-at-mountbirch
70bed7067f B2B-30: add personal code into invitation process 2025-07-02 18:27:28 +03:00
devmc-ee
b290a08572 Merge branch 'main' into B2B-30 2025-07-02 18:26:02 +03:00
devmc-ee
27e9053a99 B2B-30: clean code 2025-07-02 18:22:42 +03:00
Helena
a7ca3945bf B2B-99: add package comparison modal (#27)
* B2B-99: add pacakge comparison modal

* B2B-99: add package comparison modal

---------

Co-authored-by: Helena <helena@Helenas-MacBook-Pro.local>
2025-07-02 16:41:58 +03:00
Helena
04e0bc8069 B2B-98: add package selection page (#26)
* B2B-98: add packages

* B2B-98: add packages

* rename page

* use config path instead of hardcoded

* add link to successful registration

---------

Co-authored-by: Helena <helena@Helenas-MacBook-Pro.local>
2025-07-02 15:00:03 +03:00
devmc-ee
c4eaaca161 B2B-30: fix conflict in rpc function 2025-07-02 09:22:03 +03:00
devmc-ee
528e8578f9 B2B-30: fix conflicts 2025-07-01 23:56:21 +03:00
devmc-ee
27978f16de Merge branch 'main' into B2B-30 2025-07-01 23:29:50 +03:00
aleksei-milisenko-at-mountbirch
a2245126a5 B2B-31: refactor profile menu, header
B2B-31: refactor profile menu, header
2025-07-01 17:45:17 +03:00
Helena
297dd7c221 B2B-36: add personal dashboard (#20)
* B2B-36: add dashboard cards

* B2B-36: add dashboard cards

* card variants, some improvements, gen db types

* add menus to home page

* update db types

* remove unnecessary card variant

---------

Co-authored-by: Helena <helena@Helenas-MacBook-Pro.local>
2025-06-30 21:11:18 +03:00
devmc-ee
c72668dc23 B2B-31: clean code 2025-06-30 19:25:03 +03:00
danelkungla
d7841ca6ba Merge pull request #22 from MR-medreport/B2B-34
B2B-34: update account form
2025-06-30 15:46:18 +03:00
Danel Kungla
09a538d5aa feat: Add MFA verification for Super Admin users in middleware 2025-06-30 11:37:33 +03:00
devmc-ee
fbbc2f8760 B2B-31: refactor profile menu, header 2025-06-29 19:25:50 +03:00
devmc-ee
a8dbc98b62 B2B-30: clean code 2025-06-26 19:46:15 +03:00
Danel Kungla
b7f8d80e9f Merge branch 'main' into B2B-34 2025-06-26 16:11:11 +03:00
Danel Kungla
6aa3a27d44 feat: Implement company offer submission page and success notification
- Added CompanyOffer component for submitting company offers with validation.
- Integrated email sending functionality upon form submission.
- Created a success page for company registration confirmation.
- Introduced a reusable SuccessNotification component for displaying success messages.
- Updated account update functionality with new fields and validation.
- Enhanced user experience with back button and logo components.
- Added necessary database migrations for account updates.
2025-06-26 16:05:37 +03:00
danelkungla
9e178690dd Merge pull request #17 from MR-medreport/B2B-65
B2B-65: send company offer email
2025-06-26 13:08:02 +03:00
devmc-ee
35d43aa59e Merge branch 'main' into B2B-30 2025-06-22 15:26:55 +03:00
devmc-ee
251f2a4ef1 B2B-30: adds personal code to account, company admins invites members 2025-06-22 15:22:07 +03:00
Helena
ea540a4aeb B2B-51: add medreport product tables, relations and constraints (#19)
* B2B-51: add medreport product tables, relations and constraints

* change table names

* sync data based on env

---------

Co-authored-by: Helena <helena@Helenas-MacBook-Pro.local>
2025-06-19 16:40:22 +03:00
Helena
538a17031a B2B-52: add Connected Online syncing, tables and functions (#18)
* B2B-52: add Connected Online syncing, tables and functions

* clean up

* improve autogenerated types

* add use server directive

---------

Co-authored-by: Helena <helena@Helenas-MacBook-Pro.local>
2025-06-18 17:06:24 +03:00
Danel Kungla
15798fdfdf refactor: update register company page and success message; improve imports and localization 2025-06-17 14:23:59 +03:00
Danel Kungla
f147dcd248 Merge branch 'main' into B2B-65 2025-06-17 14:23:41 +03:00
Danel Kungla
291919c2d1 refactor: update company registration flow and email handling; switch to zod for validation 2025-06-17 13:45:46 +03:00
Helena
084653b5ea B2B-49: save codes to db in sync script (#16)
* save codes to db

* save codes to db

---------

Co-authored-by: Helena <helena@Helenas-MacBook-Pro.local>
2025-06-16 15:11:40 +03:00
Kaur Laanemäe
8209fb874f Added dockerfile. 2025-06-16 14:34:04 +03:00
aleksei-milisenko-at-mountbirch
1828d1e5fa B2B-30: add button to create company from super admin page 2025-06-16 09:06:45 +03:00
devmc-ee
39c02c6d34 B2B-30: fix typos, remove debug console 2025-06-16 09:00:27 +03:00
devmc-ee
6b884d0dd9 B2B-30: fix redirect target after company creation 2025-06-15 13:06:27 +03:00
devmc-ee
c41bf7aa3a B2B-30: minor fixes, renamings 2025-06-15 12:56:59 +03:00
devmc-ee
6e83d25a8c B2B-30: add button to create company from super admin page 2025-06-15 12:45:55 +03:00
devmc-ee
9d869becaa B2B-30: rename teams and members to companies and employees 2025-06-15 10:52:44 +03:00
devmc-ee
05a512a942 B2B-30: hide 'create team' button from not super_admins 2025-06-15 10:05:52 +03:00
aleksei-milisenko-at-mountbirch
ab933bee9c B2B-30: add config, enable mfa for activating super_admin 2025-06-13 18:10:38 +03:00
devmc-ee
9b64624109 B2B-30: add config, enable mfa for activating super_admin 2025-06-12 23:36:43 +03:00
aleksei-milisenko-at-mountbirch
fe44030190 B2B-95: add design system token values to theme 2025-06-12 18:34:27 +03:00
devmc-ee
6b698ce5e2 B2B: revert merge changes 2025-06-11 21:44:51 +03:00
devmc-ee
610d5e909f B2B: revert config changes 2025-06-11 21:43:09 +03:00
devmc-ee
685d2d1da4 B2B: revert data base types 2025-06-11 21:36:57 +03:00
devmc-ee
a5163c62ae Merge branch 'main' into B2B-95 2025-06-11 21:31:42 +03:00
devmc-ee
0490c0ba80 B2B-95: add design system token values to theme, apply to main components 2025-06-11 21:28:42 +03:00
Helena
cffb0d5843 B2B: add analysis group sync (#12)
Co-authored-by: Helena <helena@Helenas-MacBook-Pro.local>
2025-06-11 19:22:28 +03:00
Helena
0d560e5a02 B2B-86: add function to save order response (#11)
* fix import

* B2B-86: add function to save order response

* fix private message parsing

* generate new types

* clean up

* remove comment

---------

Co-authored-by: Helena <helena@Helenas-MacBook-Pro.local>
2025-06-11 18:25:53 +03:00
aleksei-milisenko-at-mountbirch
4aedc0b527 B2B-88: adds missing @supabase/ssr 2025-06-10 21:02:22 +03:00