container: lib_taxes: optimize record printing, add checks and logging, some refactoring #179
Reference in New Issue
Block a user
Delete Branch "refs/pull/179/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
When applicable, as the stream progresses, exit each successive gawk
iteration when no applicable records are present (no taxable events
found for the given tag in the given year).
Previously, when no records were found, a reports file was produced
with either a single header-only row or junk data that resulted from
the assumption there would be real data.
A preexisting hack prevented the junk data from being written after
production but this commit will resolve that hack by preventing the
printing of junk data while also preventing the production of a
header-only file.
Print warnings when no taxable events are found for the given year.
Add checks:
Remove unused arg expansion, appease the linter.
Agreement