fix filter purchase supplier repport

This commit is contained in:
ragilap
2026-04-01 16:25:04 +07:00
committed by giovanni
parent aa9863646e
commit b58e9a10b1
2 changed files with 3 additions and 2 deletions
@@ -432,6 +432,7 @@ func (c *RepportController) GetProductionResult(ctx *fiber.Ctx) error {
func parseCommaSeparatedInt64s(raw string) ([]int64, error) {
return parseCommaSeparatedInt64sWithField(raw, "supplier_ids")
}
func parseCommaSeparatedInt64sWithField(raw, field string) ([]int64, error) {
raw = strings.TrimSpace(raw)
if raw == "" {