fix unpaid order

This commit is contained in:
iBNu Maksum 2024-11-04 10:44:39 +07:00
parent 8a0c17b319
commit 7fb08eb76f
No known key found for this signature in database
GPG Key ID: 7FC82848810579E5

View File

@ -326,7 +326,6 @@ $vpn = ORM::for_table('tbl_port_pool')
$ui->assign('cf', $tcf);
$ui->assign('vpn', $vpn);
$unpaids = [];
$unpaid = ORM::for_table('tbl_payment_gateway')
->where('username', $user['username'])
->where('status', 1)
@ -354,7 +353,7 @@ if ($unpaid) {
}
}
$ui->assign('unpaid', $unpaids);
$ui->assign('unpaid', $unpaid);
$ui->assign('code', alphanumeric(_get('code'), "-"));
$abills = User::getAttributes("Bill");