How to remove header from the last page i.e. terms and condition page of the RTF template in BIP?
Content
Hello All,
We have a requirement to remove the page header from the last page i.e. terms and condition page of the Invoice print in BIP report using rtf template. Also, the last page should not be included in the total page number displayed on the bottom of the page in format x of y (1 of 4 pages).
Tried to apply the if condition on header by declaring the variable in rtf template but the declared variable is not readable on the page header level. The syntax used for variable declaration is <?xdoxslt:set_variable($_XDOCTX, 'var_hdr', 1)?> and was updated to 2 before calling the header of the last page to meet the if condition <[email protected]:xdoxslt:get_variable($_XDOCTX,’var_hdr’) !=2?>
Tagged:
0