Add SQL query for average cost retrieval and generate TriggerLog model

This commit is contained in:
2025-12-14 10:15:57 +03:30
parent 41d7dd8802
commit 9d7d94b5f8
45 changed files with 3742 additions and 440 deletions
@@ -25,7 +25,6 @@ export class PurchaseReceiptsService {
description: item.description ?? null,
product: { connect: { id: item.productId } },
}
console.log(`[create] Step 3: Mapped item ${idx}:`, mapped)
return mapped
}),
}