Add SQL query for average cost retrieval and generate TriggerLog model
This commit is contained in:
@@ -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
|
||||
}),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user