guwandyk
5ab17b1539
ch role list
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-30 13:42:14 +05:00
guwandyk
19a1f70588
ch en -tk
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-30 13:35:32 +05:00
guwandyk
8b73df4435
ch en-tk
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-30 13:29:59 +05:00
guwandyk
0058411cdd
add order number
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-29 19:29:07 +05:00
guwandyk
e47e8c24d0
added log
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-28 16:53:34 +05:00
guwandyk
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
guwandyk
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
guwandyk
f0ecf23879
ch return url
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 18:31:22 +05:00
guwandyk
d6a1053003
swagger
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 17:03:23 +05:00
guwandyk
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
guwandyk
f2b55f9896
add status api
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 12:42:31 +05:00
guwandyk
ac94e0dd8a
add /order-id
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-21 19:52:10 +05:00
guwandyk
235ef5ec9e
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-21 19:12:07 +05:00
guwandyk
febd190d6e
fixed error
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-21 18:31:31 +05:00
guwandyk
99788a853f
added payment history
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-21 18:12:08 +05:00
guwandyk
23d208769c
fixed error
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-21 17:51:10 +05:00
guwandyk
f42ad01828
added print
CI/CD / Vet, test, build (push) Has been cancelled
CI/CD / Deploy binary to server (push) Has been cancelled
CI/CD / Docker image (push) Has been cancelled
2026-09-19 12:26:35 +05:00
guwandyk
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
guwandyk
45378559ca
todo check day
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 11:51:23 +05:00
guwandyk
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
guwandyk
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
guwandyk
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
guwandyk
c6b9cb7462
ch
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:14:27 +05:00
guwandyk
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
guwandyk
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
guwandyk
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
guwandyk
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
guwandyk
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
guwandyk and Cursor
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
guwandyk and Cursor
0d000f9af6
Harden loan-order create validation and cover gin JSON binding.
...
CI/CD / Vet, test, build (push) Has been cancelled
CI/CD / Docker image (push) Has been cancelled
Reject zero loanType/branchId/dates before insert, and assert mobile-style payloads bind through gin required tags.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-26 13:13:38 +05:00
guwandyk and Cursor
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
guwandyk and Cursor
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
guwandyk and Cursor
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
guwandyk and Cursor
427d5b4e07
Add GET /loan-orders/mobile to list loan orders created from the mobile app.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-22 18:37:31 +05:00
guwandyk and Cursor
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
guwandyk and Cursor
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
guwandyk and Cursor
d7cdd53597
Return role IDs on users and related names on loan APIs.
...
Loan orders, paid-off letters, and repayments now include user, branch, type, and document names alongside foreign-key IDs.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-19 11:58:15 +05:00
guwandyk and Cursor
2853bed2ec
Regenerate Swagger for public file GET and user branches.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-18 14:29:52 +05:00
guwandyk and Cursor
9c07439089
Include assigned branches on GET user by ID.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-18 14:12:47 +05:00
guwandyk and Cursor
6191b7536c
Serve public MinIO files at /file/:file_name and add a native Ubuntu MinIO install.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-18 13:47:57 +05:00
guwandyk and Cursor
71479f4355
Search users by username, first name, last name, and full name across all list endpoints.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-18 12:28:21 +05:00
guwandyk and Cursor
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
guwandyk and Cursor
0788585c0e
Assign users to roles via role_user and drop unused social media and light-mode fields.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-18 11:13:53 +05:00
guwandyk and Cursor
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
guwandyk and Cursor
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
guwandyk and Cursor
704606b3f5
Regenerate Swagger docs for loan paid letter branches endpoint.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-12 21:14:18 +05:00
guwandyk and Cursor
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
guwandyk and Cursor
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
guwandyk
51283ffa14
change some
2026-08-10 17:32:58 +05:00
guwandyk and Cursor
18012fcec0
Serve Swagger spec per request so it works behind a proxy prefix.
...
The baked-in host and basePath pointed "Try it out" at the app's own listen
address, so requests from the browser never reached the server. doc.json is
now built from the incoming request, using X-Forwarded-Prefix to restore the
path prefix nginx strips before proxying.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-08 11:42:49 +05:00