scheduler-node-models 1.0.152 → 1.0.154

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scheduler-node-models",
3
- "version": "1.0.152",
3
+ "version": "1.0.154",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "files": [
@@ -212,10 +212,11 @@ class LeaveReport extends general_1.Report {
212
212
  employeePTOHolidaySection(sheet, emp, row, year, showHoliday) {
213
213
  let annual = 0.0;
214
214
  let carry = 0.0;
215
+ if (emp.name.lastname.toLowerCase() === 'erne') {
216
+ console.log(JSON.stringify(emp.balance));
217
+ }
215
218
  emp.balance.forEach(bal => {
216
- if (emp.name.lastname.toLowerCase() === 'erne') {
217
- console.log(JSON.stringify(bal));
218
- }
219
+ console.log(JSON.stringify(bal));
219
220
  if (bal.year === year) {
220
221
  annual = bal.annual;
221
222
  carry = bal.carryover;