@dhyasama/totem-models 7.53.1 → 7.53.3
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/lib/Financials.js +3 -3
- package/package.json +1 -1
package/lib/Financials.js
CHANGED
|
@@ -482,9 +482,9 @@ module.exports = function(mongoose, config) {
|
|
|
482
482
|
if(!snapshot) return;
|
|
483
483
|
|
|
484
484
|
var isManagedServices = snapshot.managedServices;
|
|
485
|
-
var isSubmitted =
|
|
486
|
-
var isReviewed =
|
|
487
|
-
var isRejected =
|
|
485
|
+
var isSubmitted = snapshot.submittedOn;
|
|
486
|
+
var isReviewed = snapshot.reviewedOn;
|
|
487
|
+
var isRejected = snapshot.rejection;
|
|
488
488
|
|
|
489
489
|
// no uuid means the data was captured from the google sheet
|
|
490
490
|
if((!snapshot.uuid) || (!isManagedServices && isSubmitted) || (isManagedServices && isReviewed)) {
|