Skip to content

Commit

Permalink
Merge pull request #141 from kimthu09/mai
Browse files Browse the repository at this point in the history
Fix detail of invoice
  • Loading branch information
kimthu09 authored Jan 13, 2024
2 parents 74504dc + 74e9134 commit e1b329f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/module/invoice/invoicemodel/invoice.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ type Invoice struct {
CreatedBy string `json:"-" gorm:"column:createdBy;" example:"admin"`
CreatedByUser usermodel.SimpleUser `json:"createdBy" gorm:"foreignKey:CreatedBy"`
CreatedAt *time.Time `json:"createdAt" gorm:"column:createdAt;" example:"2023-12-03T15:02:19.62113565Z"`
Details []invoicedetailmodel.InvoiceDetail `json:"-"`
Details []invoicedetailmodel.InvoiceDetail `json:"details"`
}

func (*Invoice) TableName() string {
Expand Down

0 comments on commit e1b329f

Please sign in to comment.