feat: enhance sale invoices filtering with additional fields and refactor findAll method

This commit is contained in:
2026-05-16 16:12:19 +03:30
parent 5baf5bfea6
commit ba3c544ff8
5 changed files with 228 additions and 16 deletions
+2
View File
@@ -10,6 +10,8 @@ export class PosService {
constructor(private readonly prisma: PrismaService) {}
async getInfo(pos_id: string) {
console.log('pos_id', pos_id)
const pos = await this.prisma.pos.findUniqueOrThrow({
where: {
id: pos_id,