Fix PrintGood.Cnt type: int -> float64 to match API response

This commit is contained in:
2026-03-25 20:53:02 +03:00
parent d4cad7cb74
commit 4b14f6640f

View File

@@ -133,7 +133,7 @@ type PrintGood struct {
Code2 string `json:"code2"`
CodeA string `json:"code_a"`
CodeAa []string `json:"code_aa"`
Cnt int `json:"cnt"`
Cnt float64 `json:"cnt"`
Price float64 `json:"price"`
Cost float64 `json:"cost"`
CostAfterDisc float64 `json:"cost_after_disc"`