mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-04 02:04:53 +02:00
Total Bills
This commit is contained in:
parent
afd75d757e
commit
e285e53887
3 changed files with 7 additions and 8 deletions
|
@ -42,12 +42,12 @@ foreach ($d as $ds) {
|
|||
// Postpaid price from field
|
||||
$add_inv = User::getAttribute("Invoice", $ds['customer_id']);
|
||||
if (empty ($add_inv) or $add_inv == 0) {
|
||||
$price = Lang::moneyFormat($p['price']);
|
||||
$price = $p['price'];
|
||||
} else {
|
||||
$price = Lang::moneyFormat($add_inv);
|
||||
$price = $add_inv;
|
||||
}
|
||||
} else {
|
||||
$price = Lang::moneyFormat($p['price']);
|
||||
$price = $p['price'];
|
||||
}
|
||||
if ($ds['expiration'] == $day7) {
|
||||
echo Message::sendPackageNotification($c, $p['name_plan'], $price, Lang::getNotifText('reminder_7_day'), $config['user_notification_reminder']) . "\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue