<!-- ========== Left Sidebar Start ========== -->
{% if pagetype != 11 %}
            <div class="left side-menu">
                <div class="sidebar-inner slimscrollleft">
                    <!--- Divider -->
                    <div id="sidebar-menu">
                        <ul>

                        	<li class="text-muted menu-title">Navigation</li>


                            <li class="has_sub">
                                <a href="/dashboard/" class="waves-effect"><i class="ti-home"></i> <span> Home </span> </a>
                            </li>
                            <li class="has_sub">
                                <a href="/dashboard/new_entry/" class="waves-effect"><i class="ti-pencil-alt"></i> <span>Data Entry </span> </a>
                                <ul class="list-unstyled">
                                	<li><a href="/dashboard/new_entry/">Order Entry</a></li>
                                </ul>
                            </li>

                             <li class="has_sub">
                                <a href="/dashboard/queve/" class="waves-effect"><i class="ion-flask "></i><span class="label label-default pull-right">{{ Lab.how_many_entries_are_pending }}</span><span>Pending Queve </span></a>
                            </li>

                            <li class="has_sub">
                                <a href="/dashboard/pathology_queve/" class="waves-effect"><i class="ion-flask "></i><span class="label label-default pull-right">{{ Lab.how_many_entries_are_pending }}</span><span>Pathology Queve </span></a>
                            </li>

                            <li class="has_sub">
                                <a href="/dashboard/quality_queve/" class="waves-effect"><i class="ion-flask "></i><span class="label label-default pull-right">{{ Lab.qc_total_entries }}</span><span>Quality Control </span></a>
                            </li>
                            <li class="has_sub">
                                <a href="/dashboard/all_requisitions/" class="waves-effect"><i class="ion-flask "></i><span class="label label-default pull-right">{{ Lab.how_many_entries_are_pending }}</span><span>All Requisitions </span></a>
                            </li>

                            <li class="has_sub">
                                <a href="#" class="waves-effect"><i class="ti-bar-chart"></i><span> Report's </span></a>
                                <ul class="list-unstyled">
                                	<li><a href="#">By Cliente</a></li>
                                    <li><a href="#">By Test</a></li>
                                    <li><a href="#">By Time</a></li>
                                </ul>
                            </li>


                            {% if user.profile.get_group_id == 4 or user.profile.get_group_id == 3 %}
                                <li class="has_sub">
                                    <a href="#" class="waves-effect"><i class="ion-person-stalker "></i><span class="label label-default pull-right">6</span><span> Patients </span> </a>
                                    <ul class="list-unstyled">
                                        <li><a href="/dashboard/add_patient/">Add New Patient </a></li>
                                        <li><a href="/dashboard/all_patient/">List Patient's <span class="label label-default pull-right">2</span></a></li>
                                    </ul>
                                </li>
                            {% endif %}

                            {% if user.profile.get_group_id == 4 %}
                                <li class="has_sub">
                                    <a href="#" class="waves-effect"><i class="ion-ios7-toggle-outline "></i><span class="label label-default pull-right">{{ Lab.how_many_client_are_pending }}</span><span> Clients </span> </a>
                                    <ul class="list-unstyled">
                                        <li><a href="/dashboard/add_client/">Add New Client </a></li>
                                         <li><a href="/dashboard/all_client/">Active Clients <span class="label label-blue pull-right">{{ Lab.active_clients }}</span></a></li>
                                        <li><a href="/dashboard/pending_client/">Pending Clients <span class="label label-pink pull-right">{{ Lab.how_many_client_are_pending }}</span></a></li>
                                    </ul>
                                </li>
                            {% endif %}

                            {% if user.profile.get_group_id == 4 %}
                                <li class="has_sub">
                                    <a href="#" class="waves-effect"><i class="ion-person-add "></i> <span> Users </span> </a>
                                    <ul class="list-unstyled">
                                        <li><a href="/dashboard/add_user/">Add New User </a></li>
                                        <li><a href="/dashboard/all_users/">All Users</a></li>
                                    </ul>
                                </li>
                            {% endif %}
                            {% if user.profile.get_group_id == 4 or user.profile.get_group_id == 3 %}
                                <li class="has_sub">
                                    <a href="#" class="waves-effect"><i class="ion-beaker"></i><span> Exams </span> </a>
                                    <ul class="list-unstyled">
                                        <li><a href="/dashboard/add_exam/">Add Exam </a></li>
                                       <!-- <li><a href="/dashboard/list_exam/">List Exams</a></li>  -->
                                        <li><a href="/dashboard/add_result/">Add Result </a></li>
                                        <li><a href="/dashboard/list_result/">List Result</a></li>
                                    </ul>
                                </li>
                            {% endif %}
                            {% if user.profile.get_group_id == 4 %}
                                <li class="has_sub">
                                    <a href="#" class="waves-effect"><i class="ion-person-add "></i> <span> Billing </span> </a>
                                    <ul class="list-unstyled">
                                        <li><a href="/dashboard/billing/">Pending for Billing </a></li>
                                    </ul>
                                </li>
                            {% endif %}
                            {% if user.profile.get_group_id == 4 %}
                                <li class="has_sub">
                                    <a href="#" class="waves-effect"><i class="ti-pencil-alt"></i><span> Supply</span></a>
                                    <ul class="list-unstyled">
                                        <li><a href="icons-glyphicons.html">Add New User Supply </a></li>
                                    </ul>
                                </li>
                            {% endif %}

                        </ul>
                        <div class="clearfix"></div>
                    </div>
                    <div class="clearfix"></div>
                </div>
            </div>
            <!-- Left Sidebar End -->
{% endif %}