{% load i18n %}

<script type="text/javascript">
    $(document).ready(function(){

    });



</script>
<ol class="breadcrumb">
        <li>奖品核销</li>
        <li>核销详情</li>
</ol>


<div class="panel panel-primary">
    <div class="panel-heading">
        <h3 class="panel-title">详细信息</h3>
    </div>
    <div class="panel-body">

        <table class="table table-bordered" style="max-width: 700px">
            <tr>
                <td><b>活动名称</b></td>
                <td>{{ record.activity_name }}</td>
            </tr>
            <tr>
                <td><b>奖品名称</b></td>
                <td>{{ record.award_name }}</td>
            </tr>
            <tr>
                <td><b>消费者头像</b></td>
                <td><img src="{{record.consumer.wx_headimgurl}}" style="width:50px"></td>
            </tr>
            <tr>
                <td><b>消费者昵称</b></td>
                <td>{{ record.consumer.wx_nickname }}</td>
            </tr>
            <tr>
                <td><b>核销终端名称</b></td>
                <td>{{ record.agent_name }}</td>
            </tr>
            <tr>
                <td><b>业务员名称</b></td>
                <td>{{ record.user_name }}</td>
            </tr>
            <tr>
                <td><b>业务员电话</b></td>
                <td>{{ record.user_phone }}</td>
            </tr>
            <tr>
                <td><b>是否允许</b></td>
                <td>
                    {% if record.is_permit %}
                        是
                    {% else %}
                        否
                    {% endif %}
                </td>
            </tr>

            {% if record.is_need_dispatch %}
            <tr>
                <td><b>配送状态</b></td>
                <td>
                        {% if record.is_dispatched %}
                            已经配送 配送时间：{{record.dispatched_tm}}
                        {% else %}
                            还未配送
                        {% endif %}
                </td>
            </tr>
            {% endif %}


            {% if record.is_need_money_return %}
            <tr>
                <td><b>返现状态</b></td>
                <td>
                        {% if record.is_money_returned %}
                            已经返现 返现时间：{{record.money_returned_tm}}
                        {% else %}
                            还未返现
                        {% endif %}
                </td>
            </tr>
            {% endif %}


            <tr>
                <td><b>核销时间</b></td>
                <td>{{ record.tm }}</td>
            </tr>
            <tr>
                <td><b>备注</b></td>
                <td>{{ record.remark }}</td>
            </tr>
        </table>





    </div>
</div>