plan price to Note
This commit is contained in:
parent
e9240f462d
commit
af3995b421
@ -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";
|
||||||
}
|
}
|
||||||
|
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user