mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-02-24 23:45:38 +08:00
Fix invoice keyword
This commit is contained in:
parent
21b57ef471
commit
db7c6014dc
1 changed files with 3 additions and 2 deletions
|
@ -111,8 +111,9 @@ class Message
|
||||||
$textInvoice = str_replace('[[phone]]', $config['phone'], $textInvoice);
|
$textInvoice = str_replace('[[phone]]', $config['phone'], $textInvoice);
|
||||||
$textInvoice = str_replace('[[invoice]]', $trx['invoice'], $textInvoice);
|
$textInvoice = str_replace('[[invoice]]', $trx['invoice'], $textInvoice);
|
||||||
$textInvoice = str_replace('[[date]]', Lang::dateAndTimeFormat($trx['recharged_on'], $trx['recharged_time']), $textInvoice);
|
$textInvoice = str_replace('[[date]]', Lang::dateAndTimeFormat($trx['recharged_on'], $trx['recharged_time']), $textInvoice);
|
||||||
$textInvoice = str_replace('[[payment_gateway]]', $config['gateway'], $textInvoice);
|
$gc = explode(" - ", $trx['method']);
|
||||||
$textInvoice = str_replace('[[payment_channel]]', $config['channel'], $textInvoice);
|
$textInvoice = str_replace('[[payment_gateway]]', $gc[0], $textInvoice);
|
||||||
|
$textInvoice = str_replace('[[payment_channel]]', $gc[1], $textInvoice);
|
||||||
$textInvoice = str_replace('[[type]]', $trx['type'], $textInvoice);
|
$textInvoice = str_replace('[[type]]', $trx['type'], $textInvoice);
|
||||||
$textInvoice = str_replace('[[plan_name]]', $trx['plan_name'], $textInvoice);
|
$textInvoice = str_replace('[[plan_name]]', $trx['plan_name'], $textInvoice);
|
||||||
$textInvoice = str_replace('[[plan_price]]', Lang::moneyFormat($trx['price']), $textInvoice);
|
$textInvoice = str_replace('[[plan_price]]', Lang::moneyFormat($trx['price']), $textInvoice);
|
||||||
|
|
Loading…
Reference in a new issue