Way to show on invoice template paid in full status.

Answered

Comments

1 comment

  • Official comment
    George Hinchliff

    Hi Tom,

    This could be achieved using an image and CSS.

    In the source of your template, place this image where you would like the paid status to appear on your invoice

    <div class="remaining_[Invoice Balance Due]"><img alt="" src="https://fs.axcelerate.com.au/images/71456636/invoice_paid.png" style="height: 50px !important; width: 121px !important;" /> </div>

    Next, create a <style> tag within the template source and add the following CSS:

    [class*="remaining_"] {
    display: none;
    }
    [class*="remaining_$0.00"] {
    display: inline !important;
    }

    This will tell the image to show only when the remaining balance of the invoice is $0.00.

    I would recommend only sending a template using this method as a PDF as we are not able to guarantee that the receiver's email client will correctly apply the CSS if it is included in the body of the email.

    Comment actions Permalink

Please sign in to leave a comment.