Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Changed amountOwedChanged back to observer. #1441

Merged
merged 4 commits into from
May 24, 2018
Merged

Changed amountOwedChanged back to observer. #1441

merged 4 commits into from
May 24, 2018

Conversation

MatthewDorner
Copy link
Contributor

Fixes #1440.

Changes proposed in this pull request:
This PR reverts the change to amountOwedChanged from 4b313ef. It had been changed from an observer to a computed property, but the property is never accessed anywhere so it doesn't get updated correctly.

cc @HospitalRun/core-maintainers

@MatthewDorner
Copy link
Contributor Author

I'll add some test cases as well..

@MatthewDorner
Copy link
Contributor Author

Let me know if you don't like the "Calculate totals" test, it is my attempt to test the calculated fields logic on the edit invoice page, but not sure it's in line with the style of other tests in the project. Also takes like 10 seconds to run.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants