{% load i18n %}

<style>
    .left_col {
        position: fixed;
        top: 0;
        height: 100%;
        overflow: auto;
    }
</style>

<div class="col-md-3 left_col">
    <div class="left_col scroll-view">
        <div class="navbar nav_title" style="border: 0;">
            <span href="#" class="site_title"><img src="/media/{{company_logo}}" style='height:50px;'>
                <span style='font-size:14px;'>
                    {% if user.company %}
                    {{user.company.name}}
                    {% else %}
                    {% trans '基础信息' %}
                    {% endif %}
                </span>
            </span>
        </div>
        <div class="clearfix"></div>
        <!-- sidebar menu -->
        <div id="sidebar-menu" class="main_menu_side hidden-print main_menu" style='margin-top:30px;'>     
            
                {% ifequal request.user.ancestor_id 1644 %}
                    <li><a><i class="fa fa-book"></i> {% trans '领用核销' %} <span class="fa fa-chevron-down"></span></a>
                        <ul class="nav child_menu">
                            <li><a class="l-a" href="/obj/list/entapplication/">{% trans '用酒单申请' %}</a></li>    
                            <li><a class="l-a" href="/obj/list/actapplication/">{% trans '会议活动申报' %}</a></li>  
                            <li><a class="l-a" href="/obj/list/entwriteoff/">{% trans '扫码核销记录' %}</a></li>                              
                        </ul>
                    </li>
                
                {% endifequal %}                
        </div>    
    </div>
</div>
