Is it possible to change the header image dynamically using a condition like the one below in the PDF template header code section?
{if bank.paymentMethod == 'PayNova' || cCInstallments.paymentGateway == 'TransactFlow'}
<p style="text-align: center;">
<img src="?entryPoint=attachment&id=1234564789" style="width:619.656px;">
</p>
{elseif bank.paymentMethod == 'SecurePayX' || cCInstallments.paymentGateway == 'QucickGate'}
<p style="text-align: center;">
<img src="?entryPoint=attachment&id=123454321" style="width:619.656px;">
</p>
{elseif bank.paymentMethod == 'PayPulse' || cCInstallments.paymentGateway == 'AUF Bank'}
<p style="text-align: center;">
<img src="?entryPoint=attachment&id=123412340" style="width:619.656px;">
</p>
{/if}
Comment