{template 'common/header'}
{if $do == 'record'}
微信卡券功能需要您的公众号为认证订阅号或认证服务号，并且在微信公众平台开通了“卡券功能插件”
筛选
状态
不限 未使用 已失效 已核销
code码
粉丝昵称

卡券名称 | 场景名称/id | 领取方式 | 领取人 | 转赠人 | code码 | 状态 | 领取时间 | 使用时间 | 核销员 | 核销门店 | 操作
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
{loop $data $dca}

{$cards[$dca['card_id']]['title']}

{if $outers[$dca['outer_id']]['name']} {$outers[$dca['outer_id']]['name']}/{$dca['outer_id']} {else} {$dca['outer_id']} {/if}

{if $dca['givebyfriend'] == 1} 朋友赠送 {else} 自己领取 {/if}

{if $nicknames[$dca['openid']]['nickname']} {$nicknames[$dca['openid']]['nickname']} {else} {php echo cutstr($dca['openid'], 8);} {/if}

{if $nicknames[$dca['friend_openid']]['nickname']} {$nicknames[$dca['friend_openid']]['nickname']} {else} {php echo cutstr($dca['friend_openid'], 8);} {/if}

{$dca['code']}

{if $dca['status'] == 1} 未使用 {elseif $dca['status'] == 2} 已失效 {elseif $dca['status'] == 3} 已核销 {/if}

{php echo date('Y-m-d H:i:s', $dca['addtime']);}

{if $dca['usetime']} {php echo date('Y-m-d H:i:s', $dca['usetime']);} {/if}

{$dca['clerk_cn']}

{$dca['store_cn']}

{if $dca['status'] == 1} 设置为失效 - 核销卡券 - {/if} 删除

{/loop}

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