Skip to content

Instantly share code, notes, and snippets.

@mauriciogofas
Created December 7, 2020 19:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mauriciogofas/927b4f09b3be15ba19179eb34c632a9f to your computer and use it in GitHub Desktop.
Save mauriciogofas/927b4f09b3be15ba19179eb34c632a9f to your computer and use it in GitHub Desktop.
Exemplo de customização - Módulo Gofas Boleto Simples para WHMCS
<?php
/**
* Módulo Gofas Boleto Simples para WHMCS
* docs https://gofas.net/?p=13549
* copyright 2020 Gofas Software
* version 1.0.0
* license MIT
*/
// Alterando o texto exibido na fatura que descreve taxa/desconto aplicada:
// $discount_tax_message = '<p>Tarifa do Boleto: ('.$discount_tax_value.'%) R$'.number_format( $discount_tax_valueRS, 2, ',', '.' ).'</p>'; // Original
// Novo
$discount_tax_message = '<p>Desconto recusado: ('.$discount_tax_value.'%) R$'.number_format( $discount_tax_valueRS, 2, ',', '.' ).'</p>';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment