change SaleOrderProduct store type
This commit is contained in:
parent
12aa1f94b9
commit
ddc115f4a8
@ -10,8 +10,8 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type SaleOrderProduct struct {
|
type SaleOrderProduct struct {
|
||||||
ProductID uuid.UUID `json:"product_id"`
|
ProductID uuid.UUID `json:"id"`
|
||||||
ProductName string `json:"product_name"`
|
ProductName string `json:"name"`
|
||||||
Quantity float64 `json:"quantity"`
|
Quantity float64 `json:"quantity"`
|
||||||
Sub_total float64 `json:"sub_total"`
|
Sub_total float64 `json:"sub_total"`
|
||||||
Price float64 `json:"price"`
|
Price float64 `json:"price"`
|
||||||
|
Loading…
Reference in New Issue
Block a user