Last active
January 12, 2021 20:40
-
-
Save mauriciogofas/eba268b845d3431b1847bc1bcab64f1d to your computer and use it in GitHub Desktop.
Condicional lógica para template de e-mail - texto diferente no botão de acordo com o método de pagamento
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{if $invoice_payment_method eq "Boleto Bancário"} | |
<br /> | |
<a class="paybuttom" href="{$whmcs_url}auth.php?email={$client_email}&userid={$client_id}&firstname={$client_first_name}&lastname={$client_last_name}&hash={$hash}&whmcsurl={$whmcs_url}&goto=viewinvoice.php?id={$invoice_id}">Visualizar Boleto</a> | |
<br /> | |
{else} | |
<br /> | |
<a class="paybuttom" href="{$whmcs_url}auth.php?email={$client_email}&userid={$client_id}&firstname={$client_first_name}&lastname={$client_last_name}&hash={$hash}&whmcsurl={$whmcs_url}&goto=viewinvoice.php?id={$invoice_id}">Visualizar Fatura</a> | |
<br /> | |
{/if} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment