@dhyasama/totem-models 7.53.2 → 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 +1 -1
- package/package.json +1 -1
package/lib/Financials.js
CHANGED
|
@@ -484,7 +484,7 @@ module.exports = function(mongoose, config) {
|
|
|
484
484
|
var isManagedServices = snapshot.managedServices;
|
|
485
485
|
var isSubmitted = snapshot.submittedOn;
|
|
486
486
|
var isReviewed = snapshot.reviewedOn;
|
|
487
|
-
var isRejected =
|
|
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)) {
|