feat(pos): implement integrated full-screen POS point-of-sale system with inventory deduction and thermal receipt

This commit is contained in:
Your Name committed 2026-09-24 19:35:56 +07:00
1 parent b585277214
commit 5796e4d868
10 files changed
+1549 -23

No files matched your search

+5
View File
@@ -133,8 +133,13 @@ export const productsRoute = new Elysia({ prefix: "/products" })
{ translations: { some: { name: { contains: search, mode: "insensitive" as const } } } },
{ brand: { name: { contains: search, mode: "insensitive" as const } } },
{ category: { name: { contains: search, mode: "insensitive" as const } } },
{ variants: { some: { OR: [
{ barcode: { contains: search, mode: "insensitive" as const } },
{ sku: { contains: search, mode: "insensitive" as const } }
] } } },
],
}),
} as const;
const [products, total] = await Promise.all([