MyFinances
MyFinances copied to clipboard
Tweaked function to update invoice status
Description
At the moment there's no update of the status (e.g. "paid") when you "mark as" until the page is reloaded. (https://github.com/TreyWW/MyFinances/issues/528)
Checklist
- [x] Ran the Black Formatter and djLint-er on any new code (checks will fail without)
- [x] Made any changes or additions to the documentation where required
- [x] Changes generate no new warnings/errors
- [x] New and existing unit tests pass locally with my changes
What type of PR is this?
- 🐛 Bug Fix
Added/updated tests?
- 🙅 no, because they aren't needed
Related PRs, Issues etc
- Related Issue #528
- Closes #528
Hey @Angie-newbie,
Thanks for the PR, great work. Interesting approach, we normally do all of this on the backend and return it using HTMX in the standard response.
It should be fine for now though! I'll get the typo test fixed shortly if I get the time.
Thanks a lot :)