scheduler-node-models 1.0.104 → 1.0.106
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/package.json
CHANGED
@@ -92,7 +92,6 @@ class Assignment {
|
|
92
92
|
let answer = false;
|
93
93
|
if (labor && date2) {
|
94
94
|
this.laborcodes.forEach(lc => {
|
95
|
-
console.log(`${labor.chargeNumber} ${lc.chargenumber} & ${labor.extension === lc.extension}`);
|
96
95
|
if (labor.chargeNumber && lc.chargenumber && labor.extension && lc.extension) {
|
97
96
|
if (labor.chargeNumber.toLowerCase() === lc.chargenumber.toLowerCase()
|
98
97
|
&& labor.extension.toLowerCase() === lc.extension.toLowerCase()
|
@@ -156,11 +156,13 @@ class ChargeStatusReport extends general_1.Report {
|
|
156
156
|
showGridLines: false,
|
157
157
|
horizontalCentered: true,
|
158
158
|
verticalCentered: true
|
159
|
+
},
|
160
|
+
properties: {
|
161
|
+
defaultRowHeight: 20,
|
162
|
+
defaultColWidth: 4,
|
163
|
+
outlineLevelCol: 0
|
159
164
|
}
|
160
165
|
});
|
161
|
-
sheet.properties.defaultRowHeight = 20;
|
162
|
-
sheet.properties.defaultColWidth = 4;
|
163
|
-
sheet.properties.outlineLevelCol = 0;
|
164
166
|
// set column widths
|
165
167
|
const widths = [8, 10.57, 9, 14.57, 10.57, 20, 18.14, 17.57, 14.57, 14.57, 14.57, 55.14];
|
166
168
|
const hidden = [true, true, true, true, true, false, false, true, true, true, true, true];
|
@@ -176,10 +178,10 @@ class ChargeStatusReport extends general_1.Report {
|
|
176
178
|
const startCol = columns + 2;
|
177
179
|
const endCol = startCol + (period.periods.length - 1);
|
178
180
|
sheet.getColumn(sumCol).width = 12;
|
179
|
-
sheet.getColumn(sumCol).outlineLevel =
|
181
|
+
sheet.getColumn(sumCol).outlineLevel = 0;
|
180
182
|
for (let i = startCol; i <= endCol; i++) {
|
181
183
|
sheet.getColumn(i).width = 9;
|
182
|
-
sheet.getColumn(i).outlineLevel =
|
184
|
+
sheet.getColumn(i).outlineLevel = 1;
|
183
185
|
}
|
184
186
|
columns = endCol;
|
185
187
|
});
|