MED-186: added upsert to balance if increased

MED-185: add wallet balance. to new employee
This commit is contained in:
Danel Kungla
2025-10-02 18:50:16 +03:00
parent 0c5d38f274
commit d8f314cb00
6 changed files with 244 additions and 73 deletions

View File

@@ -98,13 +98,13 @@ To access admin pages follow these steps:
- Register new user
- Go to Profile and add Multi-Factor Authentication
- Authenticate with mfa (at current time profile page prompts it again)
- update your role. look at `supabase/sql/super-admin.sql`
- update your `account.application_role` to `super_admin`.
- Sign out and Sign in
## Company User
- With admin account go to `http://localhost:3000/admin/accounts`
- For Create Company Account to work you need to have rows in `medreport.roles` table. For that you can sql in `supabase/sql/super-admin.sql`
- For Create Company Account to work you need to have rows in `medreport.roles` table.
## Start email server