This topic contains 4 replies, has 0 voices, and was last updated by k_dunc 8 years, 7 months ago.
-
AuthorPosts
-
March 30, 2016 at 2:22 pm #2840
EleniPalmosI 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} -
March 30, 2016 at 2:46 pm #2841
k_duncHi 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?
-
March 30, 2016 at 3:13 pm #2842
EleniPalmosThank 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.
-
March 30, 2016 at 3:42 pm #2843
k_duncHi 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.
-
April 3, 2016 at 3:43 am #2844
k_duncGlad to hear that EleniPalmos. All the best.
Regards,
Kirk.
-
AuthorPosts
You must be logged in to reply to this topic.
