This topic contains 4 replies, has 0 voices, and was last updated by k_dunc 8 years, 7 months ago.

  • Author
    Posts
  • #2840

    EleniPalmos

    I added a line for “Balance Due” to a customized invoice our company has. With the code below, my invoice displays “Amount Due.” If I use record.balancedue@label, my invoice displays “Balance.” Anything else I try results in an error. How do I access the “record” to add more options for the label? This newbie thanks you all!

      ${record.amountremaining@label} ${record.amountremaining}

    This is a cached copy. Click here to see the original post.

  • #2841

    k_dunc

    Hi EleniPalmos,

    The reason it is showing “Amount Due” is because you’re using the “@label” directive in your 3rd line. The ‘label’ directive will display the label name / description. If you want to specify the text to display in your invoice, simply replace ${record.amountremaining@label} with your nominated text.

    What field are you specifically wanting to display?

  • #2842

    EleniPalmos

    Thank you k_dunc! I replaced ${record.amountremaining@label} with ${record.balancedue} but the line is blank when I try to print to PDF.

    Our invoices have “Amount Owed” and “Amount Paid” on them already. I am trying to add a line with “Balance Due” when a partial payment has been made. The label is the only thing I am having trouble with.

  • #2843

    k_dunc

    Hi EleniPalmos, try something like this perhaps:

      Balance Due ${record.amountremaining}

    Hope that works for you.


    EleniPalmos replied on 03/31/2016, 09:15 AM: Eureka! It worked! Thank you so much.

  • #2844

    k_dunc

    Glad to hear that EleniPalmos. All the best.

    Regards,

    Kirk.

You must be logged in to reply to this topic.