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
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
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
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
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
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
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
585ba63bc2
changed arhitecture
2026-07-15 18:08:19 +05:00