I want to add a php code in my pdf template. Here is my use case
First is I have a dropdown on my own module:
Then what I want to have is on my pdf template, I want to have php condition base on the value of my dropdown e.g
if($client_type == "renewal") echo "x"; else echo "y";
Will this be possible?