{% if function('current_user_can', 'zygw') %}
<style>
    .customer_tracking h2 {
        margin-bottom: 30px;
    }
    .customer_tracking p {
        margin: 20px 0;
    }
    .customer_tracking p span:nth-of-type(1) {
        font-weight: bold;
        font-size: 14px;
        display: inline-block;
        width: 100px;
    }
    .customer_tracking p span:nth-of-type(2) {
        font-size: 14px;
        display: inline-block;
        width: 400px;
    }
</style>
<div class="customer_tracking">
    <h2>新增客户跟踪</h2>
    <h4>跟进记录</h4>
    <p>
        <span>跟进类型：</span>
        <span>
            <select id="customer_tracking_status" name="customer_tracking_status">
                {% set customer_tracking_status = function('CustomerTrackingDao::search_status') %}
                {% for item in customer_tracking_status %}
                <option value="{{ item.status_id }}">{{ item.status_name }}</option>
                {% endfor %}
            </select>
            <label for="customer_tracking_status"></label>
        </span>
    </p>
    <p>
        <span style="vertical-align: top;">跟进说明：</span>
        <span>
            <textarea rows="8" id="description" name="description" class="form-control" style="width: 250px;resize: none;"></textarea>
            <label for="description"></label>
        </span>
    </p>
</div>
{% endif %}