| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- <?php
- use yii\widgets\LinkPager;
- ?>
- <div class="page-title">
- <div class="title-env">
- <h1 class="title">余额明细</h1>
- </div>
- <div class="breadcrumb-env">
- <ol class="breadcrumb bc-1">
- <li>
- <a href="/"><i class="fa-home"></i>Home</a>
- </li>
- <li>
- <a href="javascript:void(0)">收支明细</a>
- </li>
- <li class="active">
- <strong>余额明细</strong>
- </li>
- </ol>
- </div>
- </div>
- <div class="panel panel-default">
- <div class="panel-body">
- <div class="dataTables_wrapper form-inline dt-bootstrap no-footer">
- <div class="table-responsive">
- <table class="table table-bordered table-striped table-hover">
- <thead>
- <tr class="active">
- <th class="no-sorting hidden-xs"><input type="checkbox"></th>
- <th class="hidden-xs">ID</th>
- <th>姓名</th>
- <th>事项</th>
- <th>支付方式</th>
- <th>收支</th>
- <th>余额</th>
- <th>时间</th>
- <th>操作</th>
- </tr>
- </thead>
- <tbody class="middle-align">
- <?php foreach($models as $key => $val){?>
- <tr>
- <td class="hidden-xs"><input type="checkbox"></td>
- <td class="hidden-xs"><?= $val->id ?></td>
- <td><?= $val->userName ?></td>
- <td><?= $val->event ?></td>
- <td><?= $payWay[$val->payWay] ?></td>
- <td><?php if($val->io == 1){ echo '+'; }else{ echo '-'; } ?><?= $val->amount ?></td>
- <td><?= $val->balance ?></td>
- <td><?= $val->createTime ?></td>
- <td>
- <a href="<?= $capitalTypeList[$val->capitalType]['link'] ?>?id=<?= $val->relateId ?>" class="btn btn-secondary btn-sm btn-icon icon-left">明细</a>
- </td>
- </tr>
- <?php } ?>
- </tbody>
- </table>
- </div>
- <div class="row">
- <div>
- <div class="dataTables_paginate paging_simple_numbers" style="float:right;padding-top:0px;margin-right:15px;">
- <?= LinkPager::widget(['pagination' => $pages]); ?>
- </div>
- </div>
- </div>
- </div>
- <div class="form-group" style="text-align:center;">
- <button type="button" onclick="history.go(-1);" class="btn btn-info btn-single">返回</button>
- </div>
- </div>
- </div>
- <!-- footer -->
- <?php
- use backend\widgets\FooterWidget;
- ?>
- <?= FooterWidget::widget()?>
- <!-- footer -->
|