{template 'common/header'} {if $op == 'display'}
筛选
卡券类型
全部 折扣券 代金券 {if COUPON_TYPE == WECHAT_COUPON} 团购券 礼品券 优惠券 {/if}
状态
不限 未使用 已失效 已核销
code码
{if $_GPC['status'] == '3' || ($_GPC['status'] == '' || empty($_GPC['status']))}
核销员
{/if}
领取人

标题 | 领取方式 | 领取人 | code码 | 状态 | 领取时间 {if $_GPC['status'] == '3' || ($_GPC['status'] == '' || empty($_GPC['status']))} | 使用时间 | 核销员 | 核销门店 {/if} | 操作
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
{loop $list $row}
{$row['title']} | {if $row['givebyfriend'] == 1} 朋友赠送 {elseif !empty($row['grantmodule'])} 模块发放 {else} 自己领取 {/if} | {if $nicknames_info[$row['openid']]['nickname']} {$nicknames_info[$row['openid']]['nickname']} {else} {php echo cutstr($row['openid'], 8);} {/if} | {$row['code']} | {if $row['rstatus'] == 1} 未使用 {elseif $row['rstatus'] == 2} 已失效 {elseif $row['rstatus'] == 3} 已核销 {elseif $row['rstatus'] == 4} 已删除 {/if} | {php echo date('Y-m-d H:i:s', $row['addtime']);} {if $_GPC['status'] == '3' || ($_GPC['status'] == '' || empty($_GPC['status']))} | {if $row['usetime']} {php echo date('Y-m-d H:i:s', $row['usetime']);} {/if} | {$row['clerk_name']} | {$row['store_name']} {/if} | {if $row['rstatus'] == 1 && $row['starttime'] <= $row['time'] && $row['endtime'] >= $row['time'] } 核销 {/if} 删除
{/loop}

{$pager}
{/if} {template 'common/footer'}