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()
|
|
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()
|
|
1352
|
+
return d.sheetId.toString() === sheet._id.toString();
|
|
1353
1353
|
});
|
|
1354
1354
|
if (!dataEntry) {
|
|
1355
1355
|
return acc;
|
|
@@ -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,
|