Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Low
-
Resolution: Done
-
Affects Version/s: v5.0
-
Fix Version/s: None
-
Labels:
-
Reproducibility:always
-
Category:Functional
-
Sprint:2022-COM-DEV-V60-W37
-
Edition:Community
Description
If customer on a prepaid account has $100 on balance, and administrator tries to assign a product that costs $100, it fails with "not enough balance" error message.
Found that the validation onĀ /opt/ASTPP/web_interface/astpp/application/modules/accounts/controllers/accounts.php for the function customer_orders_save checks for = instead of >=
It should be:
if ($account_balance >= $total_amt)