diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2025-10-14 07:35:05 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2025-10-14 07:35:05 +0530 |
commit | 9de7dcb3b45a86ee0de0e2b6f3044a859ed5ea08 (patch) | |
tree | 0968c46e2d6f28c38e2f6fa0e946ca03404a9bb2 /item/item.go | |
parent | 0f435049cb3cc6900d881c5dce43bec3a1e60e2e (diff) |
moved item's gst % to item not its variantv0.23.0
Diffstat (limited to 'item/item.go')
-rw-r--r-- | item/item.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/item/item.go b/item/item.go index 05ca8f6..f161f78 100644 --- a/item/item.go +++ b/item/item.go @@ -40,7 +40,6 @@ type ItemVariant struct { SavedItemID uint `gorm:"index"` VariantName string // "red color", "large size", "red color large size", etc UnitPrice string // float - GSTPercentage string // float QuantityInStock string // float } @@ -52,5 +51,6 @@ type SavedItem struct { Description string HSN string UnitOfMeasure string + GSTPercentage string // float Variants []ItemVariant } |