feat: change where sellerId
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 6s

This commit is contained in:
Kanjana 2025-07-07 13:50:28 +07:00
parent 138031f662
commit 8d25dda326

View file

@ -264,7 +264,7 @@ export class QuotationController extends Controller {
}
: undefined,
...whereDateQuery(startDate, endDate),
sellerId: sellerId ? sellerId : null,
sellerId: sellerId,
} satisfies Prisma.QuotationWhereInput;
const [result, total] = await prisma.$transaction([