Is it possible to place a query in the template to check if a payment has been received for the invoice and if so change the background image to something like this.
Ok to point out a few things in hopes that you don't take them wrong.
First you don't have a closing [code]</div>[/code] which breaks html code.
Second as a coder of many years you don't give arbitrary patch code and not give any instructions. For instance a normal patch file ends in .diff and contains special codes that tell patch what lines to look for. If it didn't have that then patch would fail.
So if you are going to offer a custom hack likes this it is better to write it up so that even the most basic newbie could follow them.
Now after numerous times of trying to get this to work it still doesn't and I am no newbie at php or smarty code. So I have to say this hack is worthless without more info.
Sorry if that hurts your feelings but I am looking out for the next person that comes along and tries this out and has the same issues.
Sorry if the instructions weren't set out properly, but I am a complete newbie to coding (this is the first time I have used PHP/Smarty) and I've only just got this to work myself after 2 months of trying diferent things. As far as I was concerned, the only additions I made to make this work looked pretty straight-forward just as I posted them.
I certainly haven't taken it the wrong way, but it might be worth getting an overview of the skill level involved before you make judgments.
I wouldn't know where to start when it comes to "writing up a patch", I just posted something that I thought others might be able to use - after all of the work I put into it.
If you print from IE and want the Paid Stamp printed too, you ned to turn on Background Printing. Go to Tools - Internet Options - Advanced - Print background colors and images.
In Firefox, goto File - Page Setup - Print Background (Colors and images)