Is it possible to also add a button to view the invoice a payment is related to for the payment email template?
I can see the variable $view_button is used for both invoice email templates and payment email templates, and the button is contextual depending on the type of template.
However I want to have a button to view the payment, and also another button to view the invoice it relates to. I have clients who receive the payment email and are confused about how to see the invoice, hence why I want to add a direct view invoice button to the payment email template as well.