Skip to content

Commit

Permalink
DEFIVELO-223 Export all non-zero dataset values, not just positives
Browse files Browse the repository at this point in the history
Overtime can be negative
  • Loading branch information
OdyX committed Jul 15, 2021
1 parent 21e247b commit 7ed3862
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/salary/views/timesheets.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ def get_dataset(self, html=False):
]
# Add one line to the dataset for every category
for category, category_code in category_codes_list.items():
if salary_details[category] > 0:
if salary_details[category] != 0:
dataset.append(
employee_line + [category_code, salary_details[category]]
)
Expand Down

0 comments on commit 7ed3862

Please sign in to comment.