Skip to content

Instantly share code, notes, and snippets.

@mauriciogofas
Created March 28, 2019 16:13
Show Gist options
  • Save mauriciogofas/b7baf3bbccadbe594d21927a9c45ecd0 to your computer and use it in GitHub Desktop.
Save mauriciogofas/b7baf3bbccadbe594d21927a9c45ecd0 to your computer and use it in GitHub Desktop.
<tbody>
<tr style="background-color: #009900; color: #ffffff;">
<td style="text-align: center;" height="28">
{if {$client_credit} }
<a 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}&redirectToBillet=false" target="_blank" rel="noopener"><span style="color: #ffffff; font-weight: bold; text-decoration: underline;">PAGAR AGORA</span></a></td>
{else}
<a 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}&redirectToBillet=true" target="_blank" rel="noopener"><span style="color: #ffffff; font-weight: bold; text-decoration: underline;">PAGAR AGORA</span></a></td>
{if $invoice_payment_method eq "Gofas - Boleto Fácil"}
<!--Exibe informações do boleto gerado pelo módulo Gofas - Boleto Fácil -->
{$ggnb_billet_info}
{else}{/if}
{if $invoice_payment_method eq "Gofas Gerencianet - Boleto"}
<!--Exibe informações do boleto gerado pelo módulo Gofas Gerencianet - Boleto -->
{$gbf_billet_info}
{else}{/if}
{/if}
</tr>
</tbody>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment