MyFinances icon indicating copy to clipboard operation
MyFinances copied to clipboard

Fix/invoices refresh button function

Open XinSkyrim opened this issue 8 months ago • 0 comments

Description

Fix the refresh button function.

When I clicked the refresh button, I re-listened for the click event with js and sent the get request by ajax. In pyhton, I also modified the fetch function, which can identify carried parameters for dynamic filtering.

Attention : Be sure to merge Add a time range filter under invoices before merging this request. Because I need the front end to pass the correct date format before comparing the data in the database for filtering

Checklist

  • [ ] Ran the Black Formatter and djLint-er on any new code (checks will fail without)
  • [ ] Made any changes or additions to the documentation where required
  • [ ] Changes generate no new warnings/errors
  • [ ] 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 #558
  • Closes #https://github.com/TreyWW/MyFinances/issues/560

XinSkyrim avatar Apr 08 '25 03:04 XinSkyrim