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'%>
<%end typeofcontact eq 'company'%>


Complete thread:

Back to the forum
Board view  Mix view
1024 Postings in 338 Threads, 356 registered users, 178 users online (0 registered, 178 guests)
SQL-Ledger User Forum | Admin contact
powered by my little forum