paulohabl
paulohabl
Offline
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
Responses (22)
  • Accepted Answer

    Saturday, December 21 2019, 09:16 PM - #Permalink
    0
    Hi Paulohabi,
    did find any solution for your issu ? I have the same type of problem...
    Even for Invoice actually...
    Thanks in advance for any advice ...
    The reply is currently minimized Show
  • Accepted Answer

    paulohabl
    paulohabl
    Offline
    Thursday, January 16 2020, 09:34 AM - #Permalink
    0
    Nops!
    The reply is currently minimized Show
  • Accepted Answer

    paulohabl
    paulohabl
    Offline
    Thursday, January 16 2020, 09:37 AM - #Permalink
    0
    Hi Germinal (and others),

    Happy new Year!

    Could you please help us to find a solution for this problem?
    • Germinal Camps
      more than a month ago
      hi paulo,

      this only happens on Quotes, not invoices?
      can you send me privately access to the site?
    The reply is currently minimized Show
  • Accepted Answer

    paulohabl
    paulohabl
    Offline
    Friday, May 01 2020, 07:24 PM - #Permalink
    0
    I have sent you the details to access in a PM.

    Happens on both quotation and invoice. But only on the downloaded PDF only. You need to save changes a couple of times before observe this behaviour.
    The reply is currently minimized Show
  • Accepted Answer

    paulohabl
    paulohabl
    Offline
    Thursday, May 28 2020, 08:44 PM - #Permalink
    0
    Any news on this Germinal?
    The reply is currently minimized Show
  • Accepted Answer

    BizzMix
    BizzMix
    Offline
    Wednesday, June 10 2020, 12:35 PM - #Permalink
    0
    Hello Paulohabl,

    Have you tried deleting the quote/invoice in the /pdfinvoices folder before downloading?
    The reply is currently minimized Show
  • Accepted Answer

    paulohabl
    paulohabl
    Offline
    Wednesday, June 10 2020, 03:52 PM - #Permalink
    0
    BizzMix wrote:

    Hello Paulohabl,

    Have you tried deleting the quote/invoice in the /pdfinvoices folder before downloading?


    No haven't Biszzmix. I could for the sake of the exercise and help to debug, but wouldn't do it normally though.
    The reply is currently minimized Show
  • Accepted Answer

    BizzMix
    BizzMix
    Offline
    Thursday, June 11 2020, 07:32 AM - #Permalink
    0
    Yes, to help debugging. It shouldn't be the regular workflow, indeed.
    The reply is currently minimized Show
  • Accepted Answer

    paulohabl
    paulohabl
    Offline
    Sunday, June 14 2020, 08:34 PM - #Permalink
    0
    BizzMix wrote:

    Hello Paulohabl,

    Have you tried deleting the quote/invoice in the /pdfinvoices folder before downloading?


    Thanks Bizzmix

    I made changes on the invoice deleted it and the same old PDF is downloaded, Weird that no other PDF was replaced and it still download one.
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, June 14 2020, 10:05 PM - #Permalink
    0
    As I said above, i 've met the same issue. The only solution I found is to clean the site AND the browser cache before trying to download it again. Like you Paulohabi, I have tried to erase Quote or Invoice PDF file, but it is not enough oddly.
    The reply is currently minimized Show
  • Accepted Answer

    BizzMix
    BizzMix
    Offline
    Monday, June 15 2020, 07:47 AM - #Permalink
    0
    Clearing 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)
    The reply is currently minimized Show
  • Accepted Answer

    Monday, June 15 2020, 10:42 AM - #Permalink
    0
    I 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 ?
    The reply is currently minimized Show
  • Accepted Answer

    paulohabl
    paulohabl
    Offline
    Monday, June 15 2020, 08:37 PM - #Permalink
    0
    NEWS: 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
    The reply is currently minimized Show
  • Accepted Answer

    BizzMix
    BizzMix
    Offline
    Tuesday, June 16 2020, 11:10 AM - #Permalink
    0
    OK, 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.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, June 17 2020, 05:08 AM - #Permalink
    0
    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)
    The reply is currently minimized Show
  • Accepted Answer

    paulohabl
    paulohabl
    Offline
    Wednesday, June 17 2020, 04:36 PM - #Permalink
    0
    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)
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, June 17 2020, 06:38 PM - #Permalink
    0
    paulohabl wrote:

    What about the filename as it is but added with full date YYYYMMDD HHMMSS ? (not the question mark though)

    Just a great idea ! :)
    The reply is currently minimized Show
  • Accepted Answer

    BizzMix
    BizzMix
    Offline
    Sunday, June 21 2020, 09:41 AM - #Permalink
    0
    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
    The reply is currently minimized Show
  • Accepted Answer

    paulohabl
    paulohabl
    Offline
    Sunday, June 21 2020, 11:02 AM - #Permalink
    0
    BizzMix 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"
    The reply is currently minimized Show
  • Accepted Answer

    BizzMix
    BizzMix
    Offline
    Monday, June 22 2020, 06:51 AM - #Permalink
    0
    You're right: this counts for the invoice date format; not the invoice number format. My bad.

    The filename will be [invoice-number].pdf.
    A quick solution may be for Germinal to include another parameter for the invoice number format such as [hhmmss] in analogy to [num], [dd] etc.
    The reply is currently minimized Show
  • Accepted Answer

    paulohabl
    paulohabl
    Offline
    Saturday, August 22 2020, 08:25 PM - #Permalink
    0
    Hi Germinal,

    If you are going to implement the above, i.e. saving filename with the date and time stamp, then would be great if could also created a folder and save a copy of what has been sent to the client, so it is possible to keep track of what has been sent.
    The reply is currently minimized Show
  • Accepted Answer

    paulohabl
    paulohabl
    Offline
    Friday, December 04 2020, 07:25 AM - #Permalink
    0
    paulohabl 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?
    The reply is currently minimized Show
Your Reply