fix postpaid invoice display from attributes

This commit is contained in:
gerandonk
2025-02-09 01:23:06 +07:00
parent e0884c0a5a
commit 685b325ef3
3 changed files with 14 additions and 0 deletions

View File

@ -410,6 +410,10 @@ switch ($action) {
if ($router['name'] != 'balance') {
list($bills, $add_cost) = User::getBills($id_customer);
}
$add_inv = User::getAttribute("Invoice", $id_customer);
if (!empty($add_inv)) {
$plan['price'] = $add_inv;
}
if($config['enable_coupons']){
if (!isset($_SESSION['coupon_attempts'])) {