Variables Not Recognized in V5 Emails

Anyone know why this doesn’t work anymore? I rewrote the code because the migration included a lot of unnecessary code. So it’s just simple paragraph tags you see there. I’m not even using any centering styling, so not sure where thats even coming from. But the big problem I have is the view button variable as seen here. Not sure how to email invoices and get them paid if i’m having this issue? Thank you for your help! ( I noticed a similar thread from last month, but no real resolution or alternative?)

Okay this was solved by customer service. I was told to use this variable instead $view_link

Upon investigation I found this page of all the Invoice Ninja v5 variables.

You can also find them under SETTINGS > INVOICE DESIGN > CONFIGURE > CUSTOMIZE & PREVIEW. There is a list of variables there too.