0
Changed Quotation doesn't reflect on the PDF generated by the "Download PDF". It sends a correct version when attached to e-mail though. Could you please help? This is the path taken:
Write a new Quotation
Save the new quotation: OK
Send email with attached PDF: OK
Download PDF: OK
then
Change Quotation
Save changed Quotation: OK
Send email with attached changed quotation PDF: OK
Download PDF of the changed quotation: NOT OK, it still presents the PDF of the original quotation
Write a new Quotation
Save the new quotation: OK
Send email with attached PDF: OK
Download PDF: OK
then
Change Quotation
Save changed Quotation: OK
Send email with attached changed quotation PDF: OK
Download PDF of the changed quotation: NOT OK, it still presents the PDF of the original quotation
Responses (22)
-
Accepted Answer
-
Accepted Answer
0Hi Germinal (and others),
Happy new Year!
Could you please help us to find a solution for this problem?-
Germinal Campsmore than a month agohi paulo,
this only happens on Quotes, not invoices?
can you send me privately access to the site?
-
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
0Clearing caches makes sense: the filename of the quote before and after change remains the same.
I would be cautious of changing a quote/invoice that was already sent to a prospect/customer, by the way. How can you tell which version of the quote your prospect accepted? This could be a cause for conflict.
However when it is not sent, before changing, the prospect/customer will not have downloaded it yet. It therefore would not be in his/her browser cache.
This raises the question: did you download the old version, because it was in YOUR browser cache or because it was in the site's cache? If it was in your browser cache, everyone else will not have this problem.
Stéphan, does the issue still occur when you just clean your browser cache and not the site's cache?
(I don't experience this problem, so I can't reproduce the issue and test it) -
Accepted Answer
0I did not test clearing only my browser cache.
I have MEMCACHE (from Siteground) activated on all my websites. Maybe it can come from there ? I will make tests and come back here to make feedback.
Actually, i change the email in the invoice/quote for mine before send it. So i'm sure it is the good one which is sent and then I put the good email back and send it to the customer. A little bit procedural, huh ? -
Accepted Answer
0NEWS: I cleared the browser cache (only) and now I can see the updated PDF. Don`t need do clear server or download folder.
Now what would be the solution to avoid this extra step of clearing browser cache every time I need an updated version of the PDF? Germinal?
Bizzmix - Regarding business conflict this is not a problem as my relationship with the clients are quite personal as well, and any change are agreed before hand -
Accepted Answer
0OK, great. So now we know it is the browser cache that causes the issue.
I hope Germinal can provide a useful tip, because i don't know how to configure browser-cache behavior.
Maybe some Cache-Control HTTP headers could be used, but that's really up to Germinal to figure out. (this could also be a solution to the needed cache refresh after an update is installed!)
I'm using firefox (on Win10), btw, and never experienced the problem. -
Accepted Answer
-
Accepted Answer
0Germinal Camps wrote:
hi guys,
this looks indeed browser-cache related. I haven't figured a definitive solution yet. One possible solution will be to generate the PDF names with a random string every time, to avoid duplication (instead of just the quote name)
What about the filename as it is but added with full date YYYYMMDD HHMMSS ? (not the question mark though) -
Accepted Answer
-
Accepted Answer
0I think you could already do this in the settings for the quote and invoice number format: DATE_FORMAT_LC2="l, d F Y H:i"
as described here:
https://www.joomlathat.com/documentation/invoice-manager/customizing-the-configuration-fields -
Accepted Answer
0BizzMix wrote:
I think you could already do this in the settings for the quote and invoice number format: DATE_FORMAT_LC2="l, d F Y H:i"
as described here:
https://www.joomlathat.com/documentation/invoice-manager/customizing-the-configuration-fields
This is for the date format in the invoice/quotation itself. Instead it is needed to have the date/time of PDF file creation to be added to the PDF file name itself. But just on the file name.
Ex: For the invoice number 154 of My Business created at 15hrs 32mins 21 sec on 21th June 2020 would be "Mybusiness-154 20200621 153221" -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
0paulohabl wrote:
Germinal Camps wrote:
hi guys,
this looks indeed browser-cache related. I haven't figured a definitive solution yet. One possible solution will be to generate the PDF names with a random string every time, to avoid duplication (instead of just the quote name)
What about the filename as it is but added with full date YYYYMMDD HHMMSS ? (not the question mark though)
Hi Germinal, any news on this? Would you be able to add the full date to the PDF file name?
Your Reply
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »