Found a bug with editing a draft invoice

Hi,
I found a bug while editing a draft invoice. Upon clicking “send”, It displays the email template in the left pane and a pdf version in the right pane. Unfortunately the pdf belongs to another client i.e. incorrect invoice. I saved a screenshot but for obvious reasons, I don’t want to add it here.

Hi,

@david any thoughts to debug this?

@wavesailor

Can you send us an email: contact@invoiceninja.com with the details please.

This sounds like the browser is caching old records.

@hillel are we using cache busting on the preview?

Yes, we add a t parameter with a timestamp

/download?t=${DateTime.now().millisecondsSinceEpoch}

Sent an email with attached screenshot