Fix instalment finished

This commit is contained in:
Ibnu Maksum
2024-03-15 10:48:17 +07:00
parent 1d0d3f13ab
commit 850581d328

View File

@ -47,7 +47,7 @@ class User
// installment
list($cost, $rem) = explode(":", $v);
// :0 installment is done
if ($rem != 0) {
if (!empty($rem)) {
$bills[$k] = $cost;
$addcost += $cost;
}