-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Billed Invoices - Buttons disappear from the invoice #467
Comments
I'll take a look at this issue if nobody else has taken it already. |
Marking in progress @BrianHC |
@BrianHC any update on this? |
I have fixed the problem and am putting together a pull request. EDIT Grammar and added @tangollama |
See #538 for the fix |
This problem should only happen when an invoice's total cost is zero. When clicking "Add Payment", a new payment object would be created and then recalculating of the balance would be triggered. Since the initial value of the Considering zero-cost invoices should be rare in real cases, so this bug should be relatively harmless. Anyway, I've tried to fix it in the following pull request. The idea is simple: I just count for the saved (not new) payment objects when calculating the balance. I'm totally new to Ember, so please correct me if I'm outright wrong. |
Expected behavior:
Buttons to add payment, edit, delete are always there.
Actual behavior:
If you click on add payment, the buttons disappear.
Steps to reproduce:
on beta site
Billing > Invoices > click on the add payment button for an invoice. The buttons disappear when the dialog comes up. If you dismiss the dialog with cancel, the buttons are gone.
Screenshots (if applicable):
OS and Browser:
OSX Chrome
The text was updated successfully, but these errors were encountered: