Closed pascalfree closed 1 month ago
I think we should just display the negative amount with informational text, and suppress the rendering of the payslip.
I think we should just display the negative amount with informational text, and suppress the rendering of the payslip.
I agree with the simple solution. That's what I also do, with a conditional Text if the amount is negative.
Same error appeared here, I agree with Samuel's proposal
Is there any help needed?
will see that I fix it soon, should be easy.
Add negative open amount handling.
bill.paid == True
If a bill is overpaid the remaining amount will be negative, which will cause the below error.
if opened with a negative pending amount, the bill should not be created, but the user should be redirected to a page, informing them, that they don't have to pay anymore and they have a "Guthaben".