From af3995b421e42c861fe8dff7147ac2efe7e3e59c Mon Sep 17 00:00:00 2001 From: Ibnu Maksum Date: Tue, 19 Mar 2024 11:38:32 +0700 Subject: [PATCH] plan price to Note --- system/autoload/Package.php | 1 + system/cron_reminder.php | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/system/autoload/Package.php b/system/autoload/Package.php index cab18ed2..90919531 100644 --- a/system/autoload/Package.php +++ b/system/autoload/Package.php @@ -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"; } diff --git a/system/cron_reminder.php b/system/cron_reminder.php index f69cf906..44d101ef 100644 --- a/system/cron_reminder.php +++ b/system/cron_reminder.php @@ -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) {