scheduler-node-models 1.0.145 → 1.0.147
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
@@ -211,6 +211,7 @@ class LeaveReport extends general_1.Report {
|
|
211
211
|
employeePTOHolidaySection(sheet, emp, row, year, showHoliday) {
|
212
212
|
let annual = 0.0;
|
213
213
|
let carry = 0.0;
|
214
|
+
console.log(year);
|
214
215
|
emp.balance.forEach(bal => {
|
215
216
|
if (bal.year === year) {
|
216
217
|
annual = bal.annual;
|
@@ -308,7 +309,7 @@ class LeaveReport extends general_1.Report {
|
|
308
309
|
border: this.borders.get('blackthin')
|
309
310
|
};
|
310
311
|
this.setCell(sheet, this.getCellID(col + 2, row), this.getCellID(col + 2, row), style, "Taken");
|
311
|
-
style.font = this.fonts.get('
|
312
|
+
style.font = this.fonts.get('blue8');
|
312
313
|
this.setCell(sheet, this.getCellID(col + 3, row), this.getCellID(col + 3, row), style, "Request");
|
313
314
|
row++;
|
314
315
|
const startAsgmt = emp.assignments[0];
|
@@ -536,7 +537,7 @@ class LeaveReport extends general_1.Report {
|
|
536
537
|
}
|
537
538
|
let text = '';
|
538
539
|
let bHours = false;
|
539
|
-
if (prd.start.getTime()
|
540
|
+
if (prd.start.getTime() !== prd.end.getTime()) {
|
540
541
|
text = `${prd.start.getDate()}-${prd.end.getDate()}`;
|
541
542
|
}
|
542
543
|
else {
|