mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-15 23:38:01 +02:00
still think about balance reports
This commit is contained in:
parent
774b9e3f94
commit
75cbe2b1ec
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ switch ($action) {
|
||||||
case 'by-date':
|
case 'by-date':
|
||||||
case 'daily-report':
|
case 'daily-report':
|
||||||
$paginator = Paginator::bootstrap('tbl_transactions','recharged_on',$mdate);
|
$paginator = Paginator::bootstrap('tbl_transactions','recharged_on',$mdate);
|
||||||
$d = ORM::for_table('tbl_transactions')->where('recharged_on',$mdate)->where_not_equal('','')->offset($paginator['startpoint'])->limit($paginator['limit'])->order_by_desc('id')->find_many();
|
$d = ORM::for_table('tbl_transactions')->where('recharged_on',$mdate)->offset($paginator['startpoint'])->limit($paginator['limit'])->order_by_desc('id')->find_many();
|
||||||
$dr = ORM::for_table('tbl_transactions')->where('recharged_on',$mdate)->sum('price');
|
$dr = ORM::for_table('tbl_transactions')->where('recharged_on',$mdate)->sum('price');
|
||||||
|
|
||||||
$ui->assign('d',$d);
|
$ui->assign('d',$d);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue