feat: enhance sale invoices filtering with additional fields and refactor findAll method
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user