[SOLVED] - Adding fields to a statement causes blank lines to print...
If you add new fields to the details on a Statement in the Paperwork Designer, you may find that you get blank rows printing which have blank dates and amounts.
This is caused because merge fields in the statement details sections need to have the following Hide Formula associated with them.
if({Customer.Order.Paid} || {Customer.Order.TotalDue} == 0 || {Customer.Order.Status} == "Cancelled") return true;
You can see an example of this if you click the {Date Invoiced} merge field on the statement in the Paperwork Designer, then click the Formula to determine whether field is shown or hidden... toolbar button.
The formula ensures that the field is hidden if the order has been paid, or if there is no outstanding balance or if the order has been cancelled.
Click here to learn more about forumlas in the Paperwork Designer https://www.easify.co.uk/Help/paperwork_designer_formula_editor
Regards - Richard (Easify Developer)