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
list($bills, $add_cost) = User::getBills($id_customer);
if ($add_cost > 0 && $router_name != 'balance') {
$note .= "Plan Price : " . Lang::moneyFormat($p['price']) . "\n";
foreach ($bills as $k => $v) {
$note .= $k . " : " . Lang::moneyFormat($v) . "\n";
}

View file

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