Change history invoice
Description
<I created a new model for storing invoice change history in JSON. It is also possible to restore the invoice from the history or view only its preview, where there will be a warning that it is not a valid invoice, I did not create a new template but I added a condition for displaying the information to the original one->
Checklist
- [ X] 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
- [X ] Changes generate no new warnings/errors
- [ ] New and existing unit tests pass locally with my changes
What type of PR is this?
- ✨ Feature
Added/updated tests?
- 🙋 no, because I need help
Related PRs, Issues etc
- Related Issue #
- Closes #
Hi Tom, thanks for your patience. Well done with the changes, however there's one issue still with the files where if you add a logo, revert version, and then try and revert again to the one with the logo, the image wont load.
I'm not currently sure why it's using the wrong logo name, but somewhere it's getting mixed up - but both logos are in storage still so that's good.
I'll try and play around and debug this more when I get home later though :)