Fix instalment finished

This commit is contained in:
Ibnu Maksum 2024-03-15 10:48:17 +07:00
parent 1d0d3f13ab
commit 850581d328
No known key found for this signature in database
GPG key ID: 7FC82848810579E5

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;
}