Summary
I have a data model G1 which have header information of invoice & G2 which have line information of that invoice.
Content
I am using start & body tag as i want some content in header & footer part. But i have a repeating group as well as i need to print multiple invoices also with single invoice on single page.
Using for each tag before start for G1 causing repeated headers on single page.
Please suggest a solution on this.
Code Snippet
<?for-each:G_1?>
-----header content with logo including field which comes from G1---**repeating**
<?start:body?>
<?for-each:G_2?>
-----content- including form fields---------------------------------
<?split-by-page-break:?>
<?end for-each?>
<? end body?>
<?end for-each?>
-------------content with logo for footer part including form fields----------