86 Commits

Author SHA1 Message Date
danelkungla
0af3823148 FIX Build
Fix build
2025-07-09 14:02:53 +03:00
Danel Kungla
23b54bb4f4 Merge branch 'main' into FIX-BUILD 2025-07-09 14:02:10 +03:00
Danel Kungla
c5ddccc15d fix build 2025-07-09 14:01:43 +03:00
danelkungla
023bc897c2 MED-63: change api to medreport schema
MED-63
* membership confirmation flow
* update schema public -> medreport
2025-07-09 13:40:28 +03:00
Danel Kungla
d9198a8a12 add medreport schema 2025-07-09 13:31:37 +03:00
Danel Kungla
0b8fadb771 remove medreport product migration and related constraints 2025-07-09 10:01:39 +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
Danel Kungla
29ff8cb512 fix pnpm-lock 2025-07-08 16:06:39 +03:00
Danel Kungla
c0a5238e19 Merge branch 'main' into MED-63 2025-07-08 16:06:27 +03:00
Danel Kungla
10580fa653 feat: implement membership confirmation flow and update related functionalities 2025-07-08 15:59:08 +03:00
danelkungla
7bf5dd8899 Merge pull request #31 from MR-medreport/B2B-26
B2B-26: move selfservice tables to medreport schema and add medusa store
2025-07-08 15:56:30 +03:00
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