SQL-Ledger Homepage

SQL-Ledger User Forum

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Printing Cheques to People (General)

posted by Dieter Simader(R), 15.10.2015, 12:46

Here is what I hope is an easy one. On the cheques printed to people the
PAY TO THE ORDER OF: Line is printing their LastName FirstName. Can we
have this print Salutation FirstName LastName?

You can use an if clause to print the name.

<%if typeofcontact eq 'person'%>
<%salutation%> <%firstname%> <%lastname%>
<%end typeofcontact eq 'person'%>

You also need to specify an if clause for type company so the name isn't printed if it is a person but will be printed if it is a company.

<%if typeofcontact eq 'company'%>
<%name%>
<%end typeofcontact eq 'company'%>

 

Complete thread:

Back to the forum
Board view  Mix view
959 Postings in 314 Threads, 320 registered users, 148 users online (0 registered, 148 guests)
SQL-Ledger User Forum | Admin contact
RSS-Feed
powered by my little forum