This commit is contained in:
Your Name committed 2026-09-25 04:55:06 +07:00
1 parent 049203de29
commit 44f731839f
3 files changed
+3 -1

No files matched your search

@@ -662,6 +662,7 @@ export const businessAnalyticsRoute = new Elysia({ prefix: "/business-analytics"
// ── 3. GET Master Products & Variants List (For Selection Dropdown) ─────────
.get("/products-list", async () => {
const products = await prisma.product.findMany({
where: { isDeleted: false },
include: {
category: { select: { id: true, name: true } },
brand: { select: { id: true, name: true } },