categories add outlet id

This commit is contained in:
Efril
2026-05-21 21:27:57 +07:00
parent 72f67cb519
commit 91960f0e57
9 changed files with 84 additions and 32 deletions
+3
View File
@@ -85,6 +85,9 @@ func (s *CategoryServiceImpl) ListCategories(ctx context.Context, req *contract.
if req.OrganizationID != nil {
filters["organization_id"] = *req.OrganizationID
}
if req.OutletID != nil {
filters["outlet_id"] = *req.OutletID
}
if req.BusinessType != "" {
filters["business_type"] = req.BusinessType
}