diff --git a/system/controllers/reports.php b/system/controllers/reports.php index 8c426eb7..95fffe24 100644 --- a/system/controllers/reports.php +++ b/system/controllers/reports.php @@ -26,7 +26,7 @@ switch ($action) { case 'by-date': case 'daily-report': $paginator = Paginator::bootstrap('tbl_transactions','recharged_on',$mdate); - $d = ORM::for_table('tbl_transactions')->where('recharged_on',$mdate)->offset($paginator['startpoint'])->limit($paginator['limit'])->order_by_desc('id')->find_many(); + $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(); $dr = ORM::for_table('tbl_transactions')->where('recharged_on',$mdate)->sum('price'); $ui->assign('d',$d); diff --git a/system/lan/english/common.lan.php b/system/lan/english/common.lan.php index d5f7e152..c57f8e4d 100644 --- a/system/lan/english/common.lan.php +++ b/system/lan/english/common.lan.php @@ -379,3 +379,4 @@ $_L['Cannot_send_to_yourself'] = 'Cannot send to yourself'; $_L['Sending_balance_success'] = 'Sending balance success'; $_L['From'] = 'From'; $_L['To'] = 'To'; +$_L['insufficient_balance'] = 'insufficient balance'; diff --git a/ui/ui/reports-period.tpl b/ui/ui/reports-period.tpl index a1926078..67a378b6 100644 --- a/ui/ui/reports-period.tpl +++ b/ui/ui/reports-period.tpl @@ -32,6 +32,7 @@ +