add filter location id

This commit is contained in:
giovanni
2026-01-24 13:34:21 +07:00
parent 919dc5c2e8
commit 4646bf5577
3 changed files with 5 additions and 0 deletions
@@ -28,6 +28,7 @@ func (u *WarehouseController) GetAll(c *fiber.Ctx) error {
Limit: c.QueryInt("limit", 10),
Search: c.Query("search", ""),
AreaId: c.QueryInt("area_id", 0),
LocationId: c.QueryInt("location_id", 0),
ActiveProjectFlockOnly: c.QueryBool("active_project_flock", false),
}