invoiceninja / admin-portal

Invoice Ninja: Desktop/mobile admin portal built with Flutter
https://demo.invoiceninja.com
Other
1.56k stars 521 forks source link

BUG: Expense shown as paid although paid-switch is off/deactivated #663

Closed n1smithy closed 3 days ago

n1smithy commented 3 days ago

Setup

Interface

Checklist

Describe the bug

Expenses or returning expenses will be tagged as paid even if the switch is off.

Steps To Reproduce

Create an expense (or a recurring one) and "accidentely" switch it to paid AND select one of the payment-type (!!!). Now switch it off again without (!) deleting the payment-method before!

Expected Behavior

When the switch "mark paid" is off the tag should not be "paid" but "logged", no matter if there's a payment-type (pre-) selected or not.

Thanks!