get unpaid
This commit is contained in:
parent
98b592c8a9
commit
9ca2933b5d
@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP Mikrotik Billing (https://ibnux.github.io/phpmixbill/)
|
||||
**/
|
||||
@ -12,4 +13,10 @@ $ui->assign('_user', $user);
|
||||
$bill = User::_billing();
|
||||
$ui->assign('_bill', $bill);
|
||||
|
||||
|
||||
$ui->assign('unpaid', ORM::for_table('tbl_payment_gateway')
|
||||
->where('username', $user['username'])
|
||||
->where('status', 1)
|
||||
->find_one());
|
||||
|
||||
$ui->display('user-dashboard.tpl');
|
Loading…
x
Reference in New Issue
Block a user