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>
This commit is contained in:
1 parent
1987d4f596
commit
5f6ddc5217
14 files changed
+172
-343
No files matched your search
@@ -4,6 +4,7 @@ import "context"
|
||||
|
||||
type Repository interface {
|
||||
List(ctx context.Context, filter ListFilter) (ListLoanPaidLetterDTO, error)
|
||||
ListBranchesByProvince(ctx context.Context, provinceID int64, activeOnly bool) (ListBranchesByProvinceDTO, error)
|
||||
GetByID(ctx context.Context, id int64) (LoanPaidLetterDTO, error)
|
||||
Create(ctx context.Context, dto CreateLoanPaidLetterDTO) (LoanPaidLetterDTO, error)
|
||||
Update(ctx context.Context, id int64, dto UpdateLoanPaidLetterDTO) (LoanPaidLetterDTO, error)
|
||||
|
||||
Reference in new issue
Block a user