@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 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 = !_.isEmpty(snapshot.submittedOn);
486
- var isReviewed = !_.isEmpty(snapshot.reviewedOn);
487
- var isRejected = !_.isEmpty(snapshot.rejection);
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)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "7.53.1",
3
+ "version": "7.53.3",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",