
14 Aug
2014
14 Aug
'14
8:36 a.m.
Wojtek NarczyĆski
On 13.08.2014 22:49, Steve Schafer wrote:
Why? Why are any of these erroneous line items included in the total? I would argue that an incomplete or otherwise erroneous line item is not part of the invoice. Say that the error is merely a warning, for example the user entered A' which is suspiciously short.
The goalposts have moved again, although this time it's trivial: checkForWarnings :: Invoice -> [Warning] What counts as a warning, how they affect the workflow and how they're presented are business decisions. Cheers, Chris