Eliminate blank page when instructions/disclaimer are not needed.
Good morning,
I have a set of invoices for which some need an additional page with instructions or a disclaimer, but some do not need the extra text. Currently, the process generates the instructions/disclaimer on the second page when necessary, but a blank page is printed for any invoices which do not require the instructions/disclaimer.
Here's the tags that I'm using to determine if the instructions/disclaimer are needed.
<?xdofx:if SUBSTR(INVOICE,1,2)='BN' then 'PAYMENT INSTRUCTIONS' else if SUBSTR(INVOICE,1,2)='PT' then 'DISCLAIMER' end if?>
<?for-each:ZZ_STD_NOTE_VW?>
<?TEXT254_CC1?>
<?end for-each?>
I've attached the RTF template and the xml data.