Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shirne committed Oct 19, 2018
1 parent 8fa6695 commit 57bca70
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions htdocs/application/admin/controller/PaylogController.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ public function cashin($key='',$status=''){
$this->assign('page',$lists->render());
$total=Db::name('MemberCashin')->where('status',1)->sum('amount');
$this->assign('total',$total);
$this->assign('status',$status);
$this->assign('keyword',$key);
return $this->fetch();
}
Expand Down
4 changes: 2 additions & 2 deletions htdocs/application/admin/view/paylog/cashin.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
<div class="col form-group">
<select name="status" class="form-control form-control-sm">
<option value="">全部</option>
<option value="1"{$audit==='1'?' selected':''}>已审核</option>
<option value="0"{$audit==='0'?' selected':''}>未审核</option>
<option value="1"{$status==='1'?' selected':''}>已审核</option>
<option value="0"{$status==='0'?' selected':''}>未审核</option>
</select>
</div>
<div class="col form-group input-group input-group-sm">
Expand Down

0 comments on commit 57bca70

Please sign in to comment.