-
-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change history invoice #525
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work! Appreciate the job and nice touch with the transaction. I left a few mini comments, let me know if you agree?
Thanks again
Signed-off-by: Trey <[email protected]>
Signed-off-by: Trey <[email protected]>
# Conflicts: # backend/migrations/0068_invoicehistory.py
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 :) |
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
djLint-er on any new code
(checks
will
fail without)
changes
What type of PR is this?
Added/updated tests?
Related PRs, Issues etc