plan price to Note

This commit is contained in:
Ibnu Maksum 2024-03-19 11:38:32 +07:00
parent e9240f462d
commit af3995b421
No known key found for this signature in database
GPG Key ID: 7FC82848810579E5
2 changed files with 1 additions and 1 deletions

View File

@ -41,6 +41,7 @@ class Package
// Additional cost // Additional cost
list($bills, $add_cost) = User::getBills($id_customer); list($bills, $add_cost) = User::getBills($id_customer);
if ($add_cost > 0 && $router_name != 'balance') { if ($add_cost > 0 && $router_name != 'balance') {
$note .= "Plan Price : " . Lang::moneyFormat($p['price']) . "\n";
foreach ($bills as $k => $v) { foreach ($bills as $k => $v) {
$note .= $k . " : " . Lang::moneyFormat($v) . "\n"; $note .= $k . " : " . Lang::moneyFormat($v) . "\n";
} }

View File

@ -55,7 +55,6 @@ foreach ($d as $ds) {
} else { } else {
$price = Lang::moneyFormat($p['price']); $price = Lang::moneyFormat($p['price']);
} }
//$price = Lang::moneyFormat($p['price']);
if ($ds['expiration'] == $day7) { if ($ds['expiration'] == $day7) {
echo Message::sendPackageNotification($c, $p['name_plan'], $price, Lang::getNotifText('reminder_7_day'), $config['user_notification_reminder']) . "\n"; echo Message::sendPackageNotification($c, $p['name_plan'], $price, Lang::getNotifText('reminder_7_day'), $config['user_notification_reminder']) . "\n";
} else if ($ds['expiration'] == $day3) { } else if ($ds['expiration'] == $day3) {