@dhyasama/totem-models 7.55.0 → 7.55.1

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
@@ -318,7 +318,7 @@ module.exports = function(mongoose, config) {
318
318
  var hasRecipients = snapshot.notifications.company.sendTo.length > 0;
319
319
  var hasSendOnLessThanNow = sendOnLessThanNow;
320
320
  var hasNotBeenSentTo = sendOnLessThanNow && !sendOnLessThanNow.sentOn;
321
- var hasNotBeenSubmitted = snapshot.submittedOn;
321
+ var hasNotBeenSubmitted = !snapshot.submittedOn;
322
322
 
323
323
  return hasRecipients && hasSendOnLessThanNow && hasNotBeenSentTo && hasNotBeenSubmitted;
324
324
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "7.55.0",
3
+ "version": "7.55.1",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",