@7365admin1/module-hygiene 4.24.1 → 4.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -6099,7 +6099,7 @@ function useCheckOutItemRepository() {
|
|
|
6099
6099
|
{ $match: query },
|
|
6100
6100
|
{
|
|
6101
6101
|
$lookup: {
|
|
6102
|
-
from: "site.
|
|
6102
|
+
from: "site.supplies",
|
|
6103
6103
|
localField: "supply",
|
|
6104
6104
|
foreignField: "_id",
|
|
6105
6105
|
as: "supplyDetails"
|
|
@@ -6120,6 +6120,7 @@ function useCheckOutItemRepository() {
|
|
|
6120
6120
|
qty: 1,
|
|
6121
6121
|
status: 1,
|
|
6122
6122
|
unitOfMeasurement: "$supplyDetails.unitOfMeasurement",
|
|
6123
|
+
stockQty: "$supplyDetails.qty",
|
|
6123
6124
|
attachment: 1
|
|
6124
6125
|
}
|
|
6125
6126
|
}
|