Hello Pankaj,
I'm afraid the piece of code solves the iPad problem, but there's no invoice on desktops.
By the way, the class invoice
was added by us, it is not present by default in Guru. So any code based on it would only work on our installation, unless it is also added to the default Guru installation.
Thank you.
Best,
Roger.