<ul class="sidebar-menu" data-widget="tree">
    <!-- <li class="header">MAIN NAVIGATION</li> -->
    <li><a href="{{route('dashboard')}}"><i class="fa fa-tachometer fa-3x" aria-hidden="true"></i>
            <span>{{__("Dashboard")}}</span></a></li>

    <li><a href="{{route('profile.index')}}"><i class="fa fa-user-circle-o fa-3x"></i> <span>{{__("Corporation Profile")}}</span></a></li>
    <li><a href="{{route('user.index')}}"><i class="fa fa-users fa-3x"></i> <span>{{__("App Users")}}</span></a></li>
    @if(auth()->user()->user_role=='Admin')
    <li><a href="{{route('profile.status')}}"><i class="fa fa-user-circle-o fa-3x"></i> <span>{{__("Corporation Status")}}</span></a></li>
    @endif

    <li class="treeview">
        <a href="#">
            <i class="fa fa-bullseye"></i>&nbsp;
            <span>{{__("Master")}}</span>
            <span class="pull-right-container">
                <i class="fa fa-angle-left pull-right"></i>
            </span>
        </a>
        <ul class="treeview-menu">

            <li class="{{IsActive('tree_name.*')}}">
                <a href="{{route('tree_name.index')}}">
                    <i class="fa fa-circle-o fa-3x"></i>
                    <span>{{__("Tree Name Master")}}</span>
                </a>
            </li>

            @if(FieldEnabled('tree_scientific_name_id'))
            <li class="{{IsActive('tree_scientific_name.*')}}">
                <a href="{{route('tree_scientific_name.index')}}">
                    <i class="fa fa-circle-o fa-3x"></i>
                    <span>{{__("Tree Scientific Name Master")}}</span>
                </a>
            </li>
            @endif

            @if(FieldEnabled('tree_common_name_id'))
            <li class="{{IsActive('tree_common_name.*')}}">
                <a href="{{route('tree_common_name.index')}}">
                    <i class="fa fa-circle-o fa-3x"></i>
                    <span>{{__("Tree Common Name Master")}}</span>
                </a>
            </li>
            @endif

            @if(FieldEnabled('tree_family_id'))
            <li class="{{IsActive('tree_family.*')}}">
                <a href="{{route('tree_family.index')}}">
                    <i class="fa fa-circle-o fa-3x"></i>
                    <span>{{__("Tree Family Master")}}</span>
                </a>
            </li>
            @endif

            @if(FieldEnabled('species_id'))
            <li class="{{IsActive('species.*')}}">
                <a href="{{route('species.index')}}">
                    <i class="fa fa-circle-o fa-3x"></i>
                    <span>{{__("Tree Species Master")}}</span>
                </a>
            </li>
            @endif

            @if(FieldEnabled('bark_shape_id'))
            <li class="{{IsActive('bark_shape.*')}}">
                <a href="{{route('bark_shape.index')}}">
                    <i class="fa fa-circle-o fa-3x"></i>
                    <span>{{__("Bark Shape Master")}}</span>
                </a>
            </li>
            @endif

            @if(FieldEnabled('leaf_shape_id'))
            <li class="{{IsActive('leaf_shape.*')}}">
                <a href="{{route('leaf_shape.index')}}">
                    <i class="fa fa-circle-o fa-3x"></i>
                    <span>{{__("Leaf Shape Master")}}</span>
                </a>
            </li>
            @endif

            @if(FieldEnabled('leaf_color_id'))
            <li class="{{IsActive('leaf_color.*')}}">
                <a href="{{route('leaf_color.index')}}">
                    <i class="fa fa-circle-o fa-3x"></i>
                    <span>{{__("Leaf Color Master")}}</span>
                </a>
            </li>
            @endif

            @if(FieldEnabled('texture_id'))
            <li class="{{IsActive('texture.*')}}">
                <a href="{{route('texture.index')}}">
                    <i class="fa fa-circle-o fa-3x"></i>
                    <span>{{__("Texture Master")}}</span>
                </a>
            </li>
            @endif

            @if(FieldEnabled('flower_name_id'))
            <li class="{{IsActive('flower_name.*')}}">
                <a href="{{route('flower_name.index')}}">
                    <i class="fa fa-circle-o fa-3x"></i>
                    <span>{{__("Flower Name Master")}}</span>
                </a>
            </li>
            @endif

            @if(FieldEnabled('flower_color_id'))
            <li class="{{IsActive('flower_color.*')}}">
                <a href="{{route('flower_color.index')}}">
                    <i class="fa fa-circle-o fa-3x"></i>
                    <span>{{__("Flower Color Master")}}</span>
                </a>
            </li>
            @endif

            @if(FieldEnabled('fruit_name_id'))
            <li class="{{IsActive('fruit_name.*')}}">
                <a href="{{route('fruit_name.index')}}">
                    <i class="fa fa-circle-o fa-3x"></i>
                    <span>{{__("Fruit Name Master")}}</span>
                </a>
            </li>
            @endif


            <li class="{{IsActive('fruit_shape.*')}}">
                <a href="{{route('fruit_shape.index')}}">
                    <i class="fa fa-circle-o fa-3x"></i>
                    <span>{{__("Fruit Shape Master")}}</span>
                </a>
            </li>

            @if(FieldEnabled('odour_id'))
            <li class="{{IsActive('odour.*')}}">
                <a href="{{route('odour.index')}}">
                    <i class="fa fa-circle-o fa-3x"></i>
                    <span>{{__("Odour Master")}}</span>
                </a>
            </li>
            @endif


            @if(FieldEnabled('tree_status_id'))
            <li class="{{IsActive('tree_status.*')}}">
                <a href="{{route('tree_status.index')}}">
                    <i class="fa fa-circle-o fa-3x"></i>
                    <span>{{__("Tree Status Master")}}</span>
                </a>
            </li>
            @endif


            <li class="{{IsActive('aesthetic.*')}}">
                <a href="{{route('aesthetic.index')}}">
                    <i class="fa fa-circle-o fa-3x"></i>
                    <span>{{__("Aesthetic Master")}}</span>
                </a>
            </li>
            <li class="{{IsActive('cultural.*')}}">
                <a href="{{route('cultural.index')}}">
                    <i class="fa fa-circle-o fa-3x"></i>
                    <span>{{__("Cultural Master")}}</span>
                </a>
            </li>
            <li class="{{IsActive('ecological.*')}}">
                <a href="{{route('ecological.index')}}">
                    <i class="fa fa-circle-o fa-3x"></i>
                    <span>{{__("Ecological Master")}}</span>
                </a>
            </li>
            <li class="{{IsActive('economical.*')}}">
                <a href="{{route('economical.index')}}">
                    <i class="fa fa-circle-o fa-3x"></i>
                    <span>{{__("Economical Master")}}</span>
                </a>
            </li>

            @if(FieldEnabled('ward_id'))
            <li class="{{IsActive('ward.*')}}">
                <a href="{{route('ward.index')}}">
                    <i class="fa fa-circle-o fa-3x"></i>
                    <span>{{__("Ward Master")}}</span>
                </a>
            </li>
            @endif

            @if(FieldEnabled('division_id'))
            <li class="{{IsActive('division.*')}}">
                <a href="{{route('division.index')}}">
                    <i class="fa fa-circle-o fa-3x"></i>
                    <span>{{__("Division Master")}}</span>
                </a>
            </li>
            @endif

            @if(FieldEnabled('survey_reason_id'))
            <li class="{{IsActive('survey_reason.*')}}">
                <a href="{{route('survey_reason.index')}}">
                    <i class="fa fa-circle-o fa-3x"></i>
                    <span>{{__("Survey Reason Master")}}</span>
                </a>
            </li>
            @endif

            <li class="{{IsActive('unit.*')}}">
                <a href="{{route('unit.index')}}">
                    <i class="fa fa-circle-o fa-3x"></i>
                    <span>{{__("Unit Master")}}</span>
                </a>
            </li>

            @if(FieldEnabled('land_ownership_id'))
            <li class="{{IsActive('land_ownership.*')}}">
                <a href="{{route('land_ownership.index')}}">
                    <i class="fa fa-circle-o fa-3x"></i>
                    <span>{{__("Land Ownership Master")}}</span>
                </a>
            </li>
            @endif

            <li class="{{IsActive('tree.*')}}">
                <a href="{{route('tree.index')}}">
                    <i class="fa fa-circle-o fa-3x"></i>
                    <span>{{__("Tree Master")}}</span>
                </a>
            </li>
            <li class="{{IsActive('survey_form.*')}}">
                <a href="{{route('survey_form.index')}}">
                    <i class="fa fa-circle-o fa-3x"></i>
                    <span>{{__("Survey Form")}}</span>
                </a>
            </li>
        </ul>
    </li>
    <!-- /tree-view -->


    <li class="treeview">
        <a href="#">
            <i class="fa fa-bullseye"></i>&nbsp;
            <span>{{__("Transactions")}}</span>
            <span class="pull-right-container">
                <i class="fa fa-angle-left pull-right"></i>
            </span>
        </a>
        <ul class="treeview-menu">
            <li class="{{IsActive('survey.*')}}">
                <a href="{{route('survey.index')}}">
                    <i class="fa fa-circle-o fa-3x"></i>
                    <span>{{__("Inspection")}}</span>
                </a>
            </li>

            <li class="{{IsActive('survey_application.*')}}">
                <a href="{{route('survey_application.index')}}">
                    <i class="fa fa-circle-o fa-3x"></i>
                    <span>{{__("Survey Application")}}</span>
                </a>
            </li>
        </ul>
    </li>
    <!-- /tree-view -->


    <li class="treeview">
        <a href="#">
            <i class="fa fa-bullseye"></i>&nbsp;
            <span>{{__("Reports")}}</span>
            <span class="pull-right-container">
                <i class="fa fa-angle-left pull-right"></i>
            </span>
        </a>
        <ul class="treeview-menu">
            <li class="{{IsActive('report.survey_registration')}}">
                <a href="{{route('report.survey_registration')}}">
                    <i class="fa fa-circle-o fa-3x"></i>
                    <span>{{__("Tree Survey Register")}}</span>
                </a>
            </li>
            <li class="{{IsActive('report.survey_registration_heritage')}}">
                <a href="{{route('report.survey_registration_heritage')}}">
                    <i class="fa fa-circle-o fa-3x"></i>
                    <span>{{__("Tree Survey Register")}} - Heritage</span>
                </a>
            </li>
            <li class="{{IsActive('report.yearly_tree_census')}}">
                <a href="{{route('report.yearly_tree_census')}}">
                    <i class="fa fa-circle-o fa-3x"></i>
                    <span>{{__("Tree Census Yearly Comparison")}}</span>
                </a>
            </li>
            <li class="{{IsActive('report.tree_count')}}">
                <a href="{{route('report.tree_count')}}">
                    <i class="fa fa-circle-o fa-3x"></i>
                    <span>{{__("Number of trees (City wise/ ward wise/ zone wise/ location wise)")}}</span>
                </a>
            </li>
            <li class="{{IsActive('report.diversity')}}">
                <a href="{{route('report.diversity')}}">
                    <i class="fa fa-circle-o fa-3x"></i>
                    <span>{{__("Diversity of trees (City wise/ ward wise/ zone wise/ location wise)")}}</span>
                </a>
            </li>
            <li class="{{IsActive('report.distribution')}}">
                <a href="{{route('report.distribution')}}">
                    <i class="fa fa-circle-o fa-3x"></i>
                    <span>{{__("Distribution of Tree")}}</span>
                </a>
            </li>
            <li class="{{IsActive('report.ward_wise_tree_count')}}">
                <a href="{{route('report.ward_wise_tree_count')}}">
                    <i class="fa fa-circle-o fa-3x"></i>
                    <span>{{__("Ward Wise Trees")}}</span>
                </a>
            </li>
            <li class="{{IsActive('report.survey_images_report')}}">
                <a href="{{route('report.survey_images_report')}}">
                    <i class="fa fa-circle-o fa-3x"></i>
                    <span>{{__("Survey Images Report")}}</span>
                </a>
            </li>
            <li class="{{IsActive('report.ward_map')}}">
                <a href="{{route('report.ward_map')}}">
                    <i class="fa fa-circle-o fa-3x"></i>
                    <span>{{__("Ward wise survey map")}}</span>
                </a>
            </li>
        </ul>
    </li>
    <!-- /tree-view -->

    <li><a href="{{route('map_pdf.create')}}"><i class="fa fa-file-pdf-o fa-3x"></i> <span>{{__("Ward Map Pdf")}}</span></a></li>
    <li><a href="{{route('reference.index')}}"><i class="fa fa-list fa-3x"></i> <span>{{__("Study and reference")}}</span></a></li>
    <li><a href="{{route('push_notification.index')}}"><i class="fa fa-bell fa-3x"></i> <span>{{__("Notification")}}</span></a></li>

</ul>