From e0d21e62849de28ebd61897ab651db0d5eeaaa33 Mon Sep 17 00:00:00 2001 From: Ibnu Maksum Date: Wed, 27 Mar 2024 11:42:17 +0700 Subject: [PATCH] price + $add_cost in telegram --- system/autoload/Package.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/system/autoload/Package.php b/system/autoload/Package.php index 3ab9645d..af4a11d8 100644 --- a/system/autoload/Package.php +++ b/system/autoload/Package.php @@ -287,7 +287,7 @@ class Package "\nRouter: " . $router_name . "\nGateway: " . $gateway . "\nChannel: " . $channel . - "\nPrice: " . Lang::moneyFormat($p['price']) . + "\nPrice: " . Lang::moneyFormat($p['price'] + $add_cost) . "\nNote:\n" . $note); } else { if ($p['is_radius']) { @@ -375,7 +375,7 @@ class Package "\nRouter: " . $router_name . "\nGateway: " . $gateway . "\nChannel: " . $channel . - "\nPrice: " . Lang::moneyFormat($p['price']) . + "\nPrice: " . Lang::moneyFormat($p['price'] + $add_cost) . "\nNote:\n" . $note); } } else { @@ -482,7 +482,7 @@ class Package "\nRouter: " . $router_name . "\nGateway: " . $gateway . "\nChannel: " . $channel . - "\nPrice: " . Lang::moneyFormat($p['price']) . + "\nPrice: " . Lang::moneyFormat($p['price'] + $add_cost) . "\nNote:\n" . $note); } else { if ($p['is_radius']) { @@ -572,7 +572,7 @@ class Package "\nRouter: " . $router_name . "\nGateway: " . $gateway . "\nChannel: " . $channel . - "\nPrice: " . Lang::moneyFormat($p['price']) . + "\nPrice: " . Lang::moneyFormat($p['price'] + $add_cost) . "\nNote:\n" . $note); } }