mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-20 13:31:56 +00:00
fix get search keuangan; add bank name to supplier and customer
This commit is contained in:
@@ -12,6 +12,7 @@ type Create struct {
|
||||
Address string `json:"address" validate:"required_strict"`
|
||||
Npwp *string `json:"npwp,omitempty" validate:"omitempty,max=50"`
|
||||
AccountNumber *string `json:"account_number,omitempty" validate:"omitempty,max=50"`
|
||||
BankName *string `json:"bank_name,omitempty" validate:"omitempty,max=100"`
|
||||
DueDate int `json:"due_date" validate:"required_strict,number,gt=0"`
|
||||
}
|
||||
|
||||
@@ -27,6 +28,7 @@ type Update struct {
|
||||
Address *string `json:"address,omitempty" validate:"omitempty"`
|
||||
Npwp *string `json:"npwp,omitempty" validate:"omitempty,max=50"`
|
||||
AccountNumber *string `json:"account_number,omitempty" validate:"omitempty,max=50"`
|
||||
BankName *string `json:"bank_name,omitempty" validate:"omitempty,max=100"`
|
||||
DueDate *int `json:"due_date,omitempty" validate:"omitempty,number,gt=0"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user