} elseif ($incomeConsume['type'] == IncomeConsume::TYPE_CONSUME) { $icon = '-'; } else { $icon = ''; } ?> <td><?php echo $icon . $incomeConsume['bitcoin']; ?> </td> <td><?php echo $incomeConsume->usageMode['usageModeName']; ?> </td> <td><?php echo DateFunctions::getDate($incomeConsume['createDate']); ?> </td> </tr> <?php } ?> </tbody> </table> <nav class="pull-right pagination_footer"> <?php echo \yii\widgets\LinkPager::widget(['pagination' => $pages]); ?> </nav> <div class="clearfix"></div>
<table class="table table-striped text-center no-margin-bottom table-font-small"> <thead> <tr> <th class="text-center">申请日期</th> <th class="text-center">金额</th> <th class="text-center">状态</th> <th class="text-center">快递单号</th> </tr> </thead> <tbody> <?php foreach ($invoices as $i => $invoice) { ?> <tr> <td><?php echo DateFunctions::getDate($invoice['createDate']); ?> </td> <td><?php echo $invoice['money']; ?> </td> <td><?php echo $invoice->stateName; ?> </td> <td><?php echo $invoice->orderNumber; ?> </td> </tr>