gemcap-be-common 1.3.143 → 1.3.145

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/db/new-summary.js CHANGED
@@ -1162,7 +1162,7 @@ class NewSummaryExcel {
1162
1162
  const financialRatiosBase = financialRatiosBaseKeys.reduce((acc, key) => {
1163
1163
  const sheet = sheets.find((s) => s.rowType === key && s.isTotal);
1164
1164
  const dataEntry = data.find((d) => {
1165
- return d.sheetId.toString() === sheet._id.toString() && d.year === currentYear && d.month === currentMonth;
1165
+ return d.sheetId.toString() === sheet._id.toString();
1166
1166
  });
1167
1167
  if (!dataEntry) {
1168
1168
  return acc;
package/db/new-summary.ts CHANGED
@@ -1349,7 +1349,7 @@ export class NewSummaryExcel {
1349
1349
  const financialRatiosBase = financialRatiosBaseKeys.reduce((acc, key) => {
1350
1350
  const sheet = sheets.find((s) => s.rowType === key && s.isTotal);
1351
1351
  const dataEntry = data.find((d) => {
1352
- return d.sheetId.toString() === sheet._id.toString() && d.year === currentYear && d.month === currentMonth;
1352
+ return d.sheetId.toString() === sheet._id.toString();
1353
1353
  });
1354
1354
  if (!dataEntry) {
1355
1355
  return acc;
@@ -42,6 +42,7 @@ export interface IProspectFile {
42
42
  sharepointDriveId?: string;
43
43
  sharepointWebUrl?: string;
44
44
  isAccepted?: boolean;
45
+ log?: string;
45
46
  }
46
47
  export interface IProspectFileDoc extends IProspectFile, mongoose.Document {
47
48
  }
@@ -62,6 +62,9 @@ exports.ProspectFileSchema = new mongoose_1.default.Schema({
62
62
  sharepointWebUrl: {
63
63
  type: String,
64
64
  },
65
+ log: {
66
+ type: String,
67
+ },
65
68
  }, {
66
69
  timestamps: true,
67
70
  versionKey: false,
@@ -22,6 +22,7 @@ export interface IProspectFile {
22
22
  sharepointDriveId?: string;
23
23
  sharepointWebUrl?: string;
24
24
  isAccepted?: boolean;
25
+ log?: string;
25
26
  }
26
27
 
27
28
  export interface IProspectFileDoc extends IProspectFile, mongoose.Document {
@@ -77,6 +78,9 @@ export const ProspectFileSchema = new mongoose.Schema<IProspectFileDoc>({
77
78
  sharepointWebUrl: {
78
79
  type: String,
79
80
  },
81
+ log: {
82
+ type: String,
83
+ },
80
84
  }, {
81
85
  timestamps: true,
82
86
  versionKey: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gemcap-be-common",
3
- "version": "1.3.143",
3
+ "version": "1.3.145",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {