mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-07-14 12:04:24 +02:00
get unpaid
This commit is contained in:
parent
98b592c8a9
commit
9ca2933b5d
1 changed files with 11 additions and 4 deletions
|
@ -1,9 +1,10 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* PHP Mikrotik Billing (https://ibnux.github.io/phpmixbill/)
|
||||
**/
|
||||
* PHP Mikrotik Billing (https://ibnux.github.io/phpmixbill/)
|
||||
**/
|
||||
_auth();
|
||||
$ui->assign('_title', $_L['Dashboard'].' - '. $config['CompanyName']);
|
||||
$ui->assign('_title', $_L['Dashboard'] . ' - ' . $config['CompanyName']);
|
||||
|
||||
$user = User::_info();
|
||||
$ui->assign('_user', $user);
|
||||
|
@ -12,4 +13,10 @@ $ui->assign('_user', $user);
|
|||
$bill = User::_billing();
|
||||
$ui->assign('_bill', $bill);
|
||||
|
||||
$ui->display('user-dashboard.tpl');
|
||||
|
||||
$ui->assign('unpaid', ORM::for_table('tbl_payment_gateway')
|
||||
->where('username', $user['username'])
|
||||
->where('status', 1)
|
||||
->find_one());
|
||||
|
||||
$ui->display('user-dashboard.tpl');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue