tango-app-api-store-builder 1.0.0-beta-40 → 1.0.0-beta-41
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
|
@@ -621,7 +621,12 @@ export async function storeFixturesv1( req, res ) {
|
|
|
621
621
|
if ( cvProcessStatus ) {
|
|
622
622
|
fixtureStatus = 'inprogress';
|
|
623
623
|
} else {
|
|
624
|
-
|
|
624
|
+
const missingCount = await planoComplianceService.count( {
|
|
625
|
+
fixtureId: fixture._id,
|
|
626
|
+
compliance: 'missing',
|
|
627
|
+
date: currentDate,
|
|
628
|
+
} );
|
|
629
|
+
fixtureStatus = complianceCount === 0 && !missingCount ? '' : complianceCount === productCount ? 'complete' : 'incomplete';
|
|
625
630
|
}
|
|
626
631
|
|
|
627
632
|
return {
|
|
@@ -699,7 +704,12 @@ export async function storeFixturesv1( req, res ) {
|
|
|
699
704
|
if ( cvProcessStatus ) {
|
|
700
705
|
fixtureStatus = 'inprogress';
|
|
701
706
|
} else {
|
|
702
|
-
|
|
707
|
+
const missingCount = await planoComplianceService.count( {
|
|
708
|
+
fixtureId: fixture._id,
|
|
709
|
+
compliance: 'missing',
|
|
710
|
+
date: currentDate,
|
|
711
|
+
} );
|
|
712
|
+
fixtureStatus = complianceCount === 0 && !missingCount ? '' : complianceCount === productCount ? 'complete' : 'incomplete';
|
|
703
713
|
}
|
|
704
714
|
|
|
705
715
|
return {
|