added province 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

This commit is contained in:
guwandyk committed 2026-09-30 14:00:27 +05:00
1 parent 68ead82827
commit a44c10d445
2 files changed
+17 -13

No files matched your search

+11 -9
View File
@@ -236,15 +236,17 @@ type ListFilter struct {
// LoanOrderListItemDTO is the list row; passport, work, card and guarantor
// details come from GET /loan-orders/:id.
type LoanOrderListItemDTO struct {
Id int64 `json:"id"`
LoanType *shared.NamedInfo `json:"loanType,omitempty"`
CreatedAt time.Time `json:"createdAt"`
Region string `json:"region"`
Branch *shared.NamedInfo `json:"branch,omitempty"`
CustomerName string `json:"customerName"`
CustomerSurname string `json:"customerSurname"`
Phone string `json:"phone"`
Status *string `json:"status"`
Id int64 `json:"id"`
LoanType *shared.NamedInfo `json:"loanType,omitempty"`
CreatedAt time.Time `json:"createdAt"`
Region string `json:"region"`
Branch *shared.NamedInfo `json:"branch,omitempty"`
// ProvinceName is the branch's province (etrap).
ProvinceName shared.LocalizedText `json:"provinceName"`
CustomerName string `json:"customerName"`
CustomerSurname string `json:"customerSurname"`
Phone string `json:"phone"`
Status *string `json:"status"`
}
type ListLoanOrderDTO struct {