@optimiser/common 1.0.387 → 1.0.389

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.
@@ -2431,12 +2431,8 @@ function FilterConditions(condition, match, fields) {
2431
2431
  matchValue = { '$regex': '^(?!' + obj.Value + '$)', '$options': 'i' };
2432
2432
  break;
2433
2433
  case "GREATER_THAN":
2434
- if (obj.Value) {
2435
- // if (["date", "datetime"].includes(uiDataType)) {
2436
- // matchValue = { '$gt': moment(obj.Value).endOf('day').toDate() };
2437
- // } else
2438
- matchValue = { '$gt': obj.Value };
2439
- }
2434
+ //QPC-9260 Abrar
2435
+ matchValue = { '$gt': obj.Value };
2440
2436
  break;
2441
2437
  case "LESS_THAN":
2442
2438
  // if (["date", "datetime"].includes(uiDataType)) {
@@ -3905,6 +3901,10 @@ function SyncUserLicenceConsumedCount(msp_d, db, dbMaster) {
3905
3901
  if (i != "Domain") {
3906
3902
  companyLicenceType = companyLicencesData[i];
3907
3903
  for (j in companyLicenceType) {
3904
+ /*Added by Ashish to stop resetting App.Reception.NoOfLicenceConsumed to "0" QPC-7011 */
3905
+ if (i == "App" && j == 'Reception') {
3906
+ continue;
3907
+ }
3908
3908
  companyLicenceType[j].NoOfLicenceConsumed = 0;
3909
3909
  }
3910
3910
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optimiser/common",
3
- "version": "1.0.387",
3
+ "version": "1.0.389",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {