c01429d2a4
ch mg
CI/CD / Vet, test, build (push) Has been cancelled
CI/CD / Docker image (push) Has been cancelled
CI/CD / Deploy binary to server (push) Has been cancelled
2026-09-26 21:57:41 +05:00
323e131216
changed role permission
CI/CD / Vet, test, build (push) Has been cancelled
CI/CD / Docker image (push) Has been cancelled
CI/CD / Deploy binary to server (push) Has been cancelled
2026-09-26 16:34:28 +05:00
205aaafc63
remove something
CI/CD / Vet, test, build (push) Has been cancelled
CI/CD / Docker image (push) Has been cancelled
CI/CD / Deploy binary to server (push) Has been cancelled
2026-09-22 13:39:02 +05:00
87e4b33322
rm -rf amount in db
CI/CD / Vet, test, build (push) Has been cancelled
CI/CD / Docker image (push) Has been cancelled
CI/CD / Deploy binary to server (push) Has been cancelled
2026-09-19 12:16:24 +05:00
599c12ef87
add some
CI/CD / Vet, test, build (push) Has been cancelled
CI/CD / Docker image (push) Has been cancelled
CI/CD / Deploy binary to server (push) Has been cancelled
2026-09-19 04:47:43 +05:00
6c7c402390
add pay
CI/CD / Vet, test, build (push) Has been cancelled
CI/CD / Docker image (push) Has been cancelled
CI/CD / Deploy binary to server (push) Has been cancelled
2026-09-19 03:54:40 +05:00
848a07324f
rm -rf permission module
CI/CD / Vet, test, build (push) Has been cancelled
CI/CD / Docker image (push) Has been cancelled
CI/CD / Deploy binary to server (push) Has been cancelled
2026-09-19 02:40:38 +05:00
b8455625b5
add payment settting
CI/CD / Vet, test, build (push) Has been cancelled
CI/CD / Docker image (push) Has been cancelled
CI/CD / Deploy binary to server (push) Has been cancelled
2026-09-19 02:12:59 +05:00
0971158e98
ch users <-> branches
CI/CD / Vet, test, build (push) Has been cancelled
CI/CD / Docker image (push) Has been cancelled
CI/CD / Deploy binary to server (push) Has been cancelled
2026-09-18 22:59:58 +05:00
d3e188affe
ch logika
CI/CD / Vet, test, build (push) Has been cancelled
CI/CD / Docker image (push) Has been cancelled
CI/CD / Deploy binary to server (push) Has been cancelled
2026-09-18 11:53:37 +05:00
e0d03730de
added soft deleted
CI/CD / Vet, test, build (push) Has been cancelled
CI/CD / Docker image (push) Has been cancelled
CI/CD / Deploy binary to server (push) Has been cancelled
2026-09-05 17:58:23 +05:00
d1a6fcaadc
ch some
CI/CD / Vet, test, build (push) Has been cancelled
CI/CD / Docker image (push) Has been cancelled
CI/CD / Deploy binary to server (push) Has been cancelled
2026-09-04 19:33:26 +05:00
28509eb4ca
Add backups, currencies and dashboard APIs, and scope access by guard_name.
...
CI/CD / Vet, test, build (push) Has been cancelled
CI/CD / Docker image (push) Has been cancelled
CI/CD / Deploy binary to server (push) Has been cancelled
Web users may only CRUD their own records, operators stay in assigned branches, and admin/manager/superadmin keep full access.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-31 18:14:47 +05:00
6683826662
Accept flexible loan payloads and nest related info on lending responses.
...
CI/CD / Vet, test, build (push) Has been cancelled
CI/CD / Docker image (push) Has been cancelled
Widen loan_orders.region in the init migration and share common relation helpers across loan APIs.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-26 13:06:06 +05:00
0098422798
Enrich cards API responses with joined relations and share common helpers.
...
CI/CD / Vet, test, build (push) Has been cancelled
CI/CD / Docker image (push) Has been cancelled
Nest user/branch/cardType/cardState on card, order, pin-order, and visa-master
reads; accept flexible dates/IDs on pin create; widen pin region; ignore undefined
list query params; extract internal/cards/shared to remove duplicated types and helpers.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-26 12:46:50 +05:00
1fd0abbcb2
Bind permissions to roles and scope operator access by branch.
...
Replace permission_user with permission_role, enforce RBAC on admin routes, and limit operators to their assigned branches.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-24 18:24:43 +05:00
8795ae2195
Put the user's role and branch on GET /profile, upsert role_user and branch_user on POST, and drop their list endpoints.
...
Also accept flexible card-order form values, move mock seed under db/mock, and regenerate Swagger.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-22 17:56:07 +05:00
7225dc0399
Add visa/master payment orders API and related names on loan paid letters.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-20 15:24:59 +05:00
fb65d35d3c
Link seeded users to roles by code and list only clients not assigned to a branch.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-18 12:01:58 +05:00
514b9ca5fc
Add forgot-password SMS reset, client/staff user lists, and regenerate Swagger.
...
Fold follow-up migrations into init, expose GET /users/clients and /users/staff, and refresh seed data.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-14 16:42:47 +05:00
5e3c46da83
Add phone registration with SMS verification and regenerate Swagger docs.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-13 14:43:33 +05:00
5f6ddc5217
Add province-scoped branches for loan paid letters and harden loans.user_id.
...
Expose GET /loan-paid-off-letters/branches?province_id= for form pickers, require loans.user_id, and proxy the Vite frontend under /online/.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-12 19:12:49 +05:00
1987d4f596
Add region and etrap APIs for branch create form.
...
Expose distinct regions and etraps-by-region under provinces and branches, and seed real etraps per welayat.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-11 12:12:07 +05:00
51283ffa14
change some
2026-08-10 17:32:58 +05:00
30bcfefc1e
Merge activity_logs into init migration and ignore myapp binary.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-07 17:33:34 +05:00
3636e1ca53
active log add
2026-07-16 17:53:45 +05:00
585ba63bc2
changed arhitecture
2026-07-15 18:08:19 +05:00
7e3a5cebcc
add cards folder
2026-07-13 18:47:35 +05:00
6705c4ce91
change users table
2026-07-13 12:11:35 +05:00
c29c72fd92
change db
2026-07-09 13:13:18 +05:00
be3dc28e68
created loan-orders and created table
2026-07-08 17:07:51 +05:00
77bc4025d3
Add branch_user table and branch-user assignment endpoints
...
Introduces a branch_user join table linking branches to users, plus
create/delete API endpoints under the auth module for managing branch
assignments. The create response includes the branch's localized name
via a join. Regenerated swagger docs to include the new endpoints.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com >
2026-07-08 15:02:05 +05:00
4350915b30
Add permission and user admin modules with updated user schema
...
Split user name into first_name/last_name/name and rename phone_number to
phone; add permissions table and register the new permission/user handlers.
2026-07-08 12:48:05 +05:00
4d1942d7fe
add roles
2026-07-07 18:06:50 +05:00
41471694d5
change table column name
2026-07-07 15:16:40 +05:00
ef56625321
Align loan type and required document schema with updated column names.
...
Rename loan_required_documents to loan_order_required_docs, simplify document fields to name/value, and map loan_types columns to name, maturity, notes, and active.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-06 22:48:19 +05:00
08be61cbcd
changed column name
2026-07-06 19:13:54 +05:00
82e1aad016
Align schema, API routes, and auth with updated admin domain model.
...
Rename users table fields and loan documents table, expand branch billing credentials, switch to /api/admin prefix, refactor auth endpoints, replace PATCH with PUT for status updates, remove file upload APIs, and regenerate Swagger with ordered tags.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-06 14:09:45 +05:00
0c717101da
settings section
2026-07-04 18:34:30 +05:00