tango-app-api-store-builder 1.0.0-beta-67 → 1.0.0-beta-69
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tango-app-api-store-builder",
|
|
3
|
-
"version": "1.0.0-beta-
|
|
3
|
+
"version": "1.0.0-beta-69",
|
|
4
4
|
"description": "storeBuilder",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"joi": "^17.13.3",
|
|
24
24
|
"mongodb": "^6.12.0",
|
|
25
25
|
"nodemon": "^3.1.9",
|
|
26
|
-
"tango-api-schema": "^2.2.
|
|
26
|
+
"tango-api-schema": "^2.2.77",
|
|
27
27
|
"tango-app-api-middleware": "^3.1.48",
|
|
28
28
|
"winston": "^3.17.0",
|
|
29
29
|
"winston-daily-rotate-file": "^5.0.0",
|
|
@@ -2120,6 +2120,7 @@ export async function storeFixturesTask( req, res ) {
|
|
|
2120
2120
|
const compliance = await planoTaskComplianceService.findOne( {
|
|
2121
2121
|
fixtureId: fixture._id,
|
|
2122
2122
|
type: req.body?.type ? req.body.type : 'fixture',
|
|
2123
|
+
date_string: req.body?.date,
|
|
2123
2124
|
}, { status: 1 } );
|
|
2124
2125
|
|
|
2125
2126
|
const shelves = await fixtureShelfService.find( { fixtureId: fixture._id }, { shelfNumber: 1, sectionName: 1, sectionZone: 1, shelfCapacity: 1 } );
|
|
@@ -495,6 +495,9 @@ export async function getFixtureDetails( req, res ) {
|
|
|
495
495
|
query['floorId'] = req.query.floorId;
|
|
496
496
|
}
|
|
497
497
|
|
|
498
|
+
if ( req.query?.date ) {
|
|
499
|
+
query['date_string'] = req.query?.date;
|
|
500
|
+
}
|
|
498
501
|
let fixtureDetails = await planoTaskService.findOne( query );
|
|
499
502
|
if ( !fixtureDetails ) {
|
|
500
503
|
return res.sendError( 'No data found', 204 );
|