{template 'common/header'}
{if $do == 'credit_record'}

账户类型 | 操作员 {if $type == 'credit2'} | 消费金额 | 实收金额 {/if} | 数量 | 模块 | 操作时间 | 备注
--- | --- | --- | --- | --- | --- | --- | ---
{loop $data $da}
{$creditnames[$type]['title']} | {if $da['username']}{$da['username']}{else}本人{/if} {if $type == 'credit2'} | {php echo abs($da['num'])}元 | {php echo abs($da['final_num'])}元 {/if} | {$da['num']} | {if !empty($da['module'])} {$modules['card']['title']} {else} 未知 {/if} | {php echo date('Y-m-d H:i:s', $da['createtime'])} | {$da['remark']}
{/loop}

{$pager} {elseif $do == 'stat'}
{loop $creditnames $key $li}
{$li['title']}
增加 {$data[$key]['add']}
减少 {$data[$key]['del']}
{/loop}
{/if} {template 'common/footer'}