<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">

<script src="https://code.jquery.com/jquery-3.5.1.js"></script>
<script src="https://cdn.datatables.net/1.11.4/js/jquery.dataTables.min.js"></script>

<link href="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css" rel="stylesheet" />
<script src="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/js/select2.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>


<script src="https://code.jquery.com/jquery-3.5.1.js"></script>
<script src="https://cdn.datatables.net/1.11.4/js/jquery.dataTables.min.js"></script>

<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.11.4/css/jquery.dataTables.min.css">
<script type="text/javascript">
    $(document).ready(function() {
        $('.select-2').select2();
    });
</script>







































<ul class="navigation">
    <li <?php echo (Request::is( '/' ) ? 'class="active"' : '' ); ?>>
        <a href="<?php echo e(url('/')); ?>">
            <span class="nav-icon">
                <i class="material-icons">dashboard</i>
            </span>
            <span class="nav-text"> <?php echo e(trans('left_menu.dashboard')); ?></span>
        </a>
    </li>
    <?php if(isset($user_data) && ($user_data->hasAccess(['leads.read']) || $user_data->inRole('admin'))): ?>
    <li <?php echo (Request::is( 'lead' ) || Request::is( 'leadcall/*' ) ? 'class="active"' : '' ); ?>>
        <a href="<?php echo e(url('lead')); ?>">
            <i class="material-icons ">blur_on</i>
            <span class="nav-text"><?php echo e(trans('left_menu.leads')); ?></span></a>
    </li>
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    <?php endif; ?>

    <!-- <?php if(isset($user_data) && ($user_data->hasAccess(['quotations.read']) || $user_data->inRole('admin'))): ?>
    <li <?php echo (Request::is( 'quotation/*' ) || Request::is( 'quotation' )|| Request::is( 'quotation*' ) ? 'class="active"' : '' ); ?>>
        <a href="<?php echo e(url('quotation')); ?>">
            <i class="material-icons ">receipt</i>
            <span class="nav-text"><?php echo e(trans('left_menu.quotations')); ?></span></a>
   
    </li>
    <?php endif; ?> -->


    <li <?php echo (Request::is( 'eventReport' ) || Request::is( 'salesReport' ) || Request::is( 'leadReport' ) || Request::is( 'bookingReport' ) || Request::is( 'supplierReport' ) ? 'class="active"' : '' ); ?>>
        <a><span class="nav-caret pull-right"><i class="fa fa-angle-right"></i></span>
            <span class="nav-icon"><i class="material-icons">receipt</i></span>
            <!-- <a href="<?php echo e(url('service')); ?>"> -->
            <span class="nav-text"><?php echo e(trans('left_menu.quotations')); ?></span>
            <!-- <span class="nav-text"><?php echo e(trans('left_menu.report')); ?></span> -->
        </a>
        <ul class="nav-sub">
            <li <?php echo (Request::is( 'eventReport/*' ) || Request::is( 'eventReport' ) ? 'class="active"' : '' ); ?>>
                <a href="<?php echo e(url('new-qoutations/index')); ?>">
                    <i class="material-icons ">format_list_numbered_rtl</i>
                    <span class="nav-text">All Quotations</span></a>



                <!-- <span class="nav-text"><?php echo e(trans('left_menu.eventReport')); ?></span></a> -->
            </li>
            <?php if(isset($user_data) && ($user_data->hasAccess(['quotations.read']) || $user_data->inRole('admin'))): ?>
            <li <?php echo (Request::is( 'leadReport/*' ) || Request::is( 'leadReport' ) ? 'class="active"' : '' ); ?>>
                <a href="<?php echo e(url('new-qoutations/create')); ?>">
                    <i class="material-icons ">add</i>
                    <span class="nav-text">Add New</span></a>
                <!-- <span class="nav-text"><?php echo e(trans('left_menu.leadReport')); ?></span></a> -->
            </li>
            <?php endif; ?>
        </ul>
    </li>




    <?php if(isset($user_data) && ($user_data->hasAccess(['invoices.read']) || $user_data->inRole('admin'))): ?>
    <li <?php echo (Request::is( 'invoice/*' ) || Request::is( 'invoice' ) || Request::is( 'invoices_payment_log/*' ) || Request::is( 'invoices_payment_log' ) || Request::is( 'invoice_delete_list' ) || Request::is('paid_invoice') ? 'class="active"' : '' ); ?>>
        <a><span class="nav-caret pull-right"><i class="fa fa-angle-right"></i></span>
            <span class="nav-icon"><i class="material-icons ">web_asset</i></span>
            <span class="nav-text"><?php echo e(trans('left_menu.invoices')); ?></span>
        </a>
        <ul class="nav-sub">
            <li <?php echo (Request::is( 'invoice/*' ) || Request::is( 'invoice' ) || Request::is( 'invoice_delete_list' ) || Request::is('paid_invoice') ? 'class="active"' : '' ); ?>>
                <a href="<?php echo e(url('invoice')); ?>">
                    <i class="material-icons ">web_asset</i>
                    <span class="nav-text"><?php echo e(trans('left_menu.invoices')); ?></span></a>
            </li>
            <li <?php echo (Request::is( 'invoices_payment_log/*' ) || Request::is( 'invoices_payment_log' ) ? 'class="active"' : '' ); ?>>
                <a href="<?php echo e(url('invoices_payment_log')); ?>">
                    <i class="material-icons ">archive</i>
                    <span class="nav-text"><?php echo e(trans('left_menu.log')); ?></span></a>
            </li>
        </ul>
    </li>
    <?php endif; ?>



    <li <?php echo (Request::is( 'eventReport' ) || Request::is( 'salesReport' ) || Request::is( 'leadReport' ) || Request::is( 'bookingReport' ) || Request::is( 'supplierReport' ) ? 'class="active"' : '' ); ?>>
        <a><span class="nav-caret pull-right"><i class="fa fa-angle-right"></i></span>
            <span class="nav-icon"><i class="material-icons">home_repair_service</i></span>
            <!-- <a href="<?php echo e(url('service')); ?>"> -->
            <span class="nav-text">Services</span>
            <!-- <span class="nav-text"><?php echo e(trans('left_menu.report')); ?></span> -->
        </a>
        <ul class="nav-sub">
            <li <?php echo (Request::is( 'eventReport/*' ) || Request::is( 'eventReport' ) ? 'class="active"' : '' ); ?>>
                <a href="<?php echo e(url('service/index')); ?>">
                    <i class="material-icons ">format_list_numbered_rtl</i>
                    <span class="nav-text">All Services</span></a>



                <!-- <span class="nav-text"><?php echo e(trans('left_menu.eventReport')); ?></span></a> -->
            </li>
            <li <?php echo (Request::is( 'leadReport/*' ) || Request::is( 'leadReport' ) ? 'class="active"' : '' ); ?>>
                <a href="<?php echo e(url('service/create')); ?>">
                    <i class="material-icons ">add</i>
                    <span class="nav-text">Add New</span></a>
                <!-- <span class="nav-text"><?php echo e(trans('left_menu.leadReport')); ?></span></a> -->
            </li>

        </ul>
    </li>




    <!-- packages -->
    <li <?php echo (Request::is( 'eventReport' ) || Request::is( 'salesReport' ) || Request::is( 'leadReport' ) || Request::is( 'bookingReport' ) || Request::is( 'supplierReport' ) ? 'class="active"' : '' ); ?>>
        <a><span class="nav-caret pull-right"><i class="fa fa-angle-right"></i></span>
            <span class="nav-icon"><i class="material-icons">local_offer</i></span>

            <span class="nav-text">Packages</span>
            <!-- <span class="nav-text"><?php echo e(trans('left_menu.report')); ?></span> -->
        </a>
        <ul class="nav-sub">
            <li <?php echo (Request::is( 'eventReport/*' ) || Request::is( 'eventReport' ) ? 'class="active"' : '' ); ?>>
                <a href="<?php echo e(url('packages/index')); ?>">
                    <i class="material-icons ">format_list_numbered_rtl</i>
                    <span class="nav-text">All Packages</span></a>



                <!-- <span class="nav-text"><?php echo e(trans('left_menu.eventReport')); ?></span></a> -->
            </li>
            <li <?php echo (Request::is( 'leadReport/*' ) || Request::is( 'leadReport' ) ? 'class="active"' : '' ); ?>>
                <a href="<?php echo e(url('packages/create')); ?>">
                    <i class="material-icons ">add</i>
                    <span class="nav-text">Add New</span></a>
                <!-- <span class="nav-text"><?php echo e(trans('left_menu.leadReport')); ?></span></a> -->
            </li>

        </ul>
    </li>


    <li <?php echo (Request::is( 'eventReport' ) || Request::is( 'salesReport' ) || Request::is( 'leadReport' ) || Request::is( 'bookingReport' ) || Request::is( 'supplierReport' ) ? 'class="active"' : '' ); ?>>
        <a><span class="nav-caret pull-right"><i class="fa fa-angle-right"></i></span>
            <span class="nav-icon"><i class="material-icons">local_offer</i></span>

            <span class="nav-text">Customers</span>
            <!-- <span class="nav-text"><?php echo e(trans('left_menu.report')); ?></span> -->
        </a>
        <ul class="nav-sub">
            <li <?php echo (Request::is( 'eventReport/*' ) || Request::is( 'eventReport' ) ? 'class="active"' : '' ); ?>>
                <a href="<?php echo e(url('new_customers/index')); ?>">
                    <i class="material-icons ">format_list_numbered_rtl</i>
                    <span class="nav-text">All Customers</span></a>



                <!-- <span class="nav-text"><?php echo e(trans('left_menu.eventReport')); ?></span></a> -->
            </li>
            <!-- <li <?php echo (Request::is( 'leadReport/*' ) || Request::is( 'leadReport' ) ? 'class="active"' : '' ); ?>>
                <a href="<?php echo e(url('package/create')); ?>">
                    <i class="material-icons ">add</i>
                    <span class="nav-text">Add New</span></a>
                <!-- <span class="nav-text"><?php echo e(trans('left_menu.leadReport')); ?></span></a> -->
    </li> -->

</ul>
</li>




<li <?php echo (Request::is( 'eventReport' ) || Request::is( 'salesReport' ) || Request::is( 'leadReport' ) || Request::is( 'bookingReport' ) || Request::is( 'supplierReport' ) ? 'class="active"' : '' ); ?>>
    <a><span class="nav-caret pull-right"><i class="fa fa-angle-right"></i></span>
        <span class="nav-icon"><i class="material-icons">attach_money</i></span>

        <span class="nav-text">Bank Acocunts</span>
        <!-- <span class="nav-text"><?php echo e(trans('left_menu.report')); ?></span> -->
    </a>
    <ul class="nav-sub">
        <li <?php echo (Request::is( 'eventReport/*' ) || Request::is( 'eventReport' ) ? 'class="active"' : '' ); ?>>
            <a href="<?php echo e(url('accounts/index')); ?>">
                <i class="material-icons ">format_list_numbered_rtl</i>
                <span class="nav-text">All Accounts</span></a>



            <!-- <span class="nav-text"><?php echo e(trans('left_menu.eventReport')); ?></span></a> -->
        </li>
        <li <?php echo (Request::is( 'leadReport/*' ) || Request::is( 'leadReport' ) ? 'class="active"' : '' ); ?>>
            <a href="<?php echo e(url('accounts/create')); ?>">
                <i class="material-icons ">add</i>
                <span class="nav-text">Add New</span></a>
            <!-- <span class="nav-text"><?php echo e(trans('left_menu.leadReport')); ?></span></a> -->
        </li>

    </ul>
</li>





<li <?php echo (Request::is( 'eventReport' ) || Request::is( 'salesReport' ) || Request::is( 'leadReport' ) || Request::is( 'bookingReport' ) || Request::is( 'supplierReport' ) ? 'class="active"' : '' ); ?>>
    <a><span class="nav-caret pull-right"><i class="fa fa-angle-right"></i></span>
        <span class="nav-icon"><i class="material-icons">
                payments
            </i></span>

        <span class="nav-text">Transactions</span>
        <!-- <span class="nav-text"><?php echo e(trans('left_menu.report')); ?></span> -->
    </a>
    <ul class="nav-sub">
        <li <?php echo (Request::is( 'eventReport/*' ) || Request::is( 'eventReport' ) ? 'class="active"' : '' ); ?>>
            <a href="<?php echo e(url('transactions/index')); ?>">
                <i class="material-icons ">format_list_numbered_rtl</i>
                <span class="nav-text">All Transactions</span></a>



            <!-- <span class="nav-text"><?php echo e(trans('left_menu.eventReport')); ?></span></a> -->
        </li>
        <li <?php echo (Request::is( 'leadReport/*' ) || Request::is( 'leadReport' ) ? 'class="active"' : '' ); ?>>
            <a href="<?php echo e(url('transactions/create')); ?>">
                <i class="material-icons ">add</i>
                <span class="nav-text">Add New</span></a>
            <!-- <span class="nav-text"><?php echo e(trans('left_menu.leadReport')); ?></span></a> -->
        </li>

    </ul>
</li>


<li <?php echo (Request::is( 'eventReport' ) || Request::is( 'salesReport' ) || Request::is( 'leadReport' ) || Request::is( 'bookingReport' ) || Request::is( 'supplierReport' ) ? 'class="active"' : '' ); ?>>
    <a><span class="nav-caret pull-right"><i class="fa fa-angle-right"></i></span>
        <span class="nav-icon"><i class="material-icons">format_align_left</i></span>

        <span class="nav-text">Expenses</span>
        <!-- <span class="nav-text"><?php echo e(trans('left_menu.report')); ?></span> -->
    </a>
    <ul class="nav-sub">
        <li <?php echo (Request::is( 'eventReport/*' ) || Request::is( 'eventReport' ) ? 'class="active"' : '' ); ?>>
            <a href="<?php echo e(url('expenses/index')); ?>">
                <i class="material-icons ">format_list_numbered_rtl</i>
                <span class="nav-text">All Expenses</span></a>



            <!-- <span class="nav-text"><?php echo e(trans('left_menu.eventReport')); ?></span></a> -->
        </li>
        <li <?php echo (Request::is( 'leadReport/*' ) || Request::is( 'leadReport' ) ? 'class="active"' : '' ); ?>>
            <a href="<?php echo e(url('expenses/create/type')); ?>">
                <i class="material-icons ">add</i>
                <span class="nav-text">Add New</span></a>
            <!-- <span class="nav-text"><?php echo e(trans('left_menu.leadReport')); ?></span></a> -->
        </li>

    </ul>
</li>







<li>
    <a><span class="nav-caret pull-right"><i class="fa fa-angle-right"></i></span>
        <span class="nav-icon"><i class="material-icons">format_align_left</i></span>

        <span class="nav-text">Departments</span>
        <!-- <span class="nav-text"><?php echo e(trans('left_menu.report')); ?></span> -->
    </a>
    <ul class="nav-sub">
        <li <?php echo (Request::is( 'eventReport/*' ) || Request::is( 'eventReport' ) ? 'class="active"' : '' ); ?>>
            <a href="<?php echo e(url('new_departments/index')); ?>">
                <i class="material-icons ">format_list_numbered_rtl</i>
                <span class="nav-text">All Departments</span></a>



            <!-- <span class="nav-text"><?php echo e(trans('left_menu.eventReport')); ?></span></a> -->
        </li>
        <li <?php echo (Request::is( 'leadReport/*' ) || Request::is( 'leadReport' ) ? 'class="active"' : '' ); ?>>
            <a href="<?php echo e(url('new_departments/create')); ?>">
                <i class="material-icons ">add</i>
                <span class="nav-text">Add New</span></a>
            <!-- <span class="nav-text"><?php echo e(trans('left_menu.leadReport')); ?></span></a> -->
        </li>

    </ul>
</li>




<li>
    <a><span class="nav-caret pull-right"><i class="fa fa-angle-right"></i></span>
        <span class="nav-icon"><i class="material-icons">format_align_left</i></span>

        <span class="nav-text">Employees</span>
        <!-- <span class="nav-text"><?php echo e(trans('left_menu.report')); ?></span> -->
    </a>
    <ul class="nav-sub">
        <li>
            <a href="<?php echo e(url('employees/index')); ?>">
                <i class="material-icons ">format_list_numbered_rtl</i>
                <span class="nav-text">All Employees</span></a>



            <!-- <span class="nav-text"><?php echo e(trans('left_menu.eventReport')); ?></span></a> -->
        </li>
        <li>
            <a href="<?php echo e(url('employees/create')); ?>">
                <i class="material-icons ">add</i>
                <span class="nav-text">Add New</span></a>
            <!-- <span class="nav-text"><?php echo e(trans('left_menu.leadReport')); ?></span></a> -->
        </li>

    </ul>
</li>


























<?php if(isset($user_data) && ($user_data->hasAccess(['event.read']) || $user_data->inRole('admin'))): ?>
<li <?php echo (Request::is( 'event/*' ) || Request::is( 'event/*' ) || Request::is( 'event' ) ? 'class="active"' : '' ); ?>>
    <a href="<?php echo e(url('event')); ?>">
        <span class="nav-icon">
            <i class="material-icons ">star</i>
        </span>
        <span class="nav-text"><?php echo e(trans('left_menu.events')); ?></span>
    </a>
</li>
<?php endif; ?>

<li <?php echo (Request::is( 'calendar/*' ) || Request::is( 'calendar' ) ? 'class="active"' : '' ); ?>>
    <a href="<?php echo e(url('calendar')); ?>">
        <span class="nav-icon">
            <i class="material-icons">event_note</i>
        </span>
        <span class="nav-text"><?php echo e(trans('left_menu.calendar')); ?></span>
    </a>
</li>

<li <?php echo (Request::is( '/task/*' ) || Request::is( 'task' ) ? 'class="active"' : '' ); ?>>
    <a href="<?php echo e(url('/task')); ?>">
        <span class="nav-icon">
            <i class="material-icons">event_task</i>
        </span>
        <span class="nav-text"> <?php echo e(trans('left_menu.todo')); ?></span>
    </a>
</li>


<?php if(isset($user_data) && ($user_data->hasAccess(['meetings.read']) || $user_data->inRole('admin'))): ?>
<li <?php echo (Request::is( 'meeting/*' ) || Request::is( 'meeting' ) ? 'class="active"' : '' ); ?>>
    <a href="<?php echo e(url('meeting')); ?>">
        <span class="nav-icon">
            <i class="material-icons">folder_shared</i>
        </span>
        <span class="nav-text"><?php echo e(trans('left_menu.meetings')); ?></span>
    </a>
</li>
<?php endif; ?>

<?php if(isset($user_data) && ($user_data->hasAccess(['sales_team.read']) || $user_data->inRole('admin'))): ?>
<li <?php echo (Request::is( 'salesteam/*' ) || Request::is( 'salesteam' ) ? 'class="active"' : '' ); ?>>
    <a href="<?php echo e(url('salesteam')); ?>">
        <span class="nav-icon">
            <i class="material-icons ">groups</i>
        </span>
        <span class="nav-text"> <?php echo e(trans('left_menu.salesteam')); ?></span>
    </a>
</li>
<?php endif; ?> <?php if(isset($user_data) && ($user_data->hasAccess(['logged_calls.read']) || $user_data->inRole('admin'))): ?>
<li hidden <?php echo (Request::is( 'call/*' ) || Request::is( 'call' ) ? 'class="active"' : '' ); ?>>
    <a href="<?php echo e(url('call')); ?>">
        <span class="nav-icon">
            <i class="material-icons ">phone</i>
        </span>
        <span class="nav-text"><?php echo e(trans('left_menu.calls')); ?></span>
    </a>
</li>









<?php endif; ?>

























<?php if(isset($user_data) && ($user_data->hasAccess(['contacts.read']) || $user_data->inRole('admin'))): ?>
<li <?php echo (Request::is( 'customer/*' ) || Request::is( 'customer' ) || Request::is( 'company/*' ) || Request::is( 'company' ) ? 'class="active"' : '' ); ?>>
    <a>
        <span class="nav-caret pull-right">
            <i class="fa fa-angle-right"></i>
        </span>
        <span class="nav-icon">
            <i class="material-icons">web</i>
        </span>
        <span class="nav-text"><?php echo e(trans('left_menu.corporate')); ?></span>
    </a>
    <ul class="nav-sub">
        <li <?php echo (Request::is( 'company/*]' ) || Request::is( 'company' ) ? 'class="active"' : '' ); ?>>
            <a href="<?php echo e(url('company')); ?>">
                <i class="material-icons ">web</i>
                <span class="nav-text"><?php echo e(trans('left_menu.company')); ?></span></a>
        </li>
        <li <?php echo (Request::is( 'customer/*' ) || Request::is( 'customer' ) ? 'class="active"' : '' ); ?>>
            <a href="<?php echo e(url('customer')); ?>">
                <i class="material-icons ">person</i>
                <span class="nav-text"><?php echo e(trans('left_menu.representative')); ?></span></a>
        </li>
    </ul>
</li>
<?php endif; ?>

<?php if(isset($user_data) && ($user_data->hasAccess(['reports.read']) || $user_data->inRole('admin'))): ?>
<li hidden <?php echo (Request::is( 'eventReport' ) || Request::is( 'salesReport' ) || Request::is( 'leadReport' ) || Request::is( 'bookingReport' ) || Request::is( 'supplierReport' ) ? 'class="active"' : '' ); ?>>
    <a><span class="nav-caret pull-right"><i class="fa fa-angle-right"></i></span>
        <span class="nav-icon"><i class="material-icons ">assignment</i></span>
        <span class="nav-text"><?php echo e(trans('left_menu.report')); ?></span>
    </a>
    <ul class="nav-sub">
        <li <?php echo (Request::is( 'eventReport/*' ) || Request::is( 'eventReport' ) ? 'class="active"' : '' ); ?>>
            <a href="<?php echo e(url('eventReport')); ?>">
                <i class="material-icons ">filter_vintage</i>
                <span class="nav-text"><?php echo e(trans('left_menu.eventReport')); ?></span></a>
        </li>
        <li <?php echo (Request::is( 'leadReport/*' ) || Request::is( 'leadReport' ) ? 'class="active"' : '' ); ?>>
            <a href="<?php echo e(url('leadReport')); ?>">
                <i class="material-icons ">blur_linear</i>
                <span class="nav-text"><?php echo e(trans('left_menu.leadReport')); ?></span></a>
        </li>
        <li <?php echo (Request::is( 'bookingReport/*' ) || Request::is( 'bookingReport' ) ? 'class="active"' : '' ); ?>>
            <a href="<?php echo e(url('bookingReport')); ?>">
                <i class="material-icons ">bookmark</i>
                <span class="nav-text"><?php echo e(trans('left_menu.bookingReport')); ?></span></a>
        </li>
        <li <?php echo (Request::is( 'salesReport/*' ) || Request::is( 'salesReport' ) ? 'class="active"' : '' ); ?>>
            <a href="<?php echo e(url('salesReport')); ?>">
                <i class="material-icons ">local_shipping</i>
                <span class="nav-text"><?php echo e(trans('left_menu.salesReport')); ?></span></a>
        </li>
        <li <?php echo (Request::is( 'supplierReport/*' ) || Request::is( 'supplierReport' ) ? 'class="active"' : '' ); ?>>
            <a href="<?php echo e(url('supplierReport')); ?>">
                <i class="material-icons ">local_shipping</i>
                <span class="nav-text"><?php echo e(trans('left_menu.suppliersReport')); ?></span></a>
        </li>
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
    </ul>
</li>
<?php endif; ?>

<li hidden <?php echo (Request::is( 'contacts/*' ) || Request::is( 'contacts' ) ? 'class="active"' : '' ); ?>>
    <a href="<?php echo e(url('contacts')); ?>">
        <span class="nav-icon">
            <i class="material-icons">person</i>
        </span>
        <span class="nav-text"><?php echo e(trans('dashboard.contact')); ?></span>
    </a>
</li>

<?php if(isset($user_data) && $user_data->hasAccess(['staff.read']) || $user_data->inRole('admin')): ?>
<h5 class="mar-5 border-b">Configuration</h5>
<li hidden <?php echo (Request::is( 'staff/*' ) || Request::is( 'staff' ) ? 'class="active"' : '' ); ?>>
    <a href="<?php echo e(url('staff')); ?>">
        <span class="nav-icon">
            <i class="material-icons">people_outline</i>
        </span>
        <span class="nav-text"><?php echo e(trans('left_menu.staff')); ?></span>
    </a>
</li>
<?php endif; ?>


<?php if(isset($user_data) && $user_data->inRole('admin')): ?>
<li hidden <?php echo (Request::is( 'option/*' ) || Request::is( 'option' ) || Request::is( 'eventSetting/catererServiceType' ) || Request::is( 'eventSetting/eventTypes' ) || Request::is( 'eventSetting/depositsType' )? 'class="active"' : '' ); ?>>
    <a>
        <span class="nav-caret pull-right"><i class="fa fa-angle-right"></i></span>
        <span class="nav-icon"><i class="material-icons">view_comfy</i></span>
        <span class="nav-text"><?php echo e(trans('left_menu.options')); ?></span>
    </a>
    <ul class="nav-sub">
        <li <?php echo (Request::is( 'option/*' ) || Request::is( 'option' ) ? 'class="active"' : '' ); ?>>
            <a href="<?php echo e(url('option/')); ?>">
                <span class="nav-icon"><i class="material-icons">view_comfy</i></span>
                <span class="nav-text"><?php echo e(trans('left_menu.options')); ?></span>
            </a>
        </li>
        <li <?php echo (Request::is( 'eventSetting/catererServiceType' ) || Request::is( 'eventSetting/catererServiceType' ) ? 'class="active"' : '' ); ?>>
            <a href="<?php echo e(url('eventSetting/catererServiceType')); ?>">
                <i class="material-icons ">room_service</i>
                <span class="nav-text"><?php echo e(trans('left_menu.caterersTypes')); ?></span></a>
        </li>
        <li <?php echo (Request::is( 'eventSetting/eventTypes' ) || Request::is( 'eventSetting/eventTypes' ) ? 'class="active"' : '' ); ?>>
            <a href="<?php echo e(url('eventSetting/eventTypes')); ?>">
                <i class="material-icons ">stars</i>
                <span class="nav-text"><?php echo e(trans('left_menu.eventTypes')); ?></span></a>
        </li>
        <li <?php echo (Request::is( 'eventSetting/depositsType' ) || Request::is( 'eventSetting/depositsType' ) ? 'class="active"' : '' ); ?>>
            <a href="<?php echo e(url('eventSetting/depositsType')); ?>">
                <span class="nav-icon"><i class="material-icons">swap_horiz</i></span>
                <span class="nav-text"><?php echo e(trans('left_menu.depositsType')); ?></span>
            </a>
        </li>
    </ul>
</li>
<li hidden <?php echo (Request::is( 'eventSetting/catererIndex' ) || Request::is( 'eventSetting/photoIndex' ) || Request::is( 'eventSetting/entertainIndex' ) ||Request::is( 'eventSetting/decoratorIndex' ) || Request::is( 'eventSetting/miscellaneous' ) ? 'class="active"' : '' ); ?>>
    <a>
        <span class="nav-caret pull-right"><i class="fa fa-angle-right"></i></span>
        <span class="nav-icon"><i class="material-icons">supervisor_account</i></span>
        <span class="nav-text"><?php echo e(trans('left_menu.eventContractor')); ?></span>
    </a>
    <ul class="nav-sub">
        <li <?php echo (Request::is( 'eventSetting/catererIndex' ) || Request::is( 'eventSetting/catererIndex' ) ? 'class="active"' : '' ); ?>>
            <a href="<?php echo e(url('eventSetting/catererIndex')); ?>">
                <i class="material-icons">restaurant</i>
                <span class="nav-text"><?php echo e(trans('left_menu.caterer')); ?></span></a>
        </li>
        <li <?php echo (Request::is( 'eventSetting/photoIndex' ) || Request::is( 'eventSetting/photoIndex' ) ? 'class="active"' : '' ); ?>>
            <a href="<?php echo e(url('eventSetting/photoIndex')); ?>">
                <i class="material-icons ">photo_camera</i>
                <span class="nav-text"><?php echo e(trans('left_menu.photographer')); ?></span></a>
        </li>
        <li <?php echo (Request::is( 'eventSetting/entertainIndex' ) || Request::is( 'eventSetting/entertainIndex' ) ? 'class="active"' : '' ); ?>>
            <a href="<?php echo e(url('eventSetting/entertainIndex')); ?>">
                <i class="material-icons ">music_note</i>
                <span class="nav-text"><?php echo e(trans('left_menu.entertainer')); ?></span></a>
        </li>
        <li <?php echo (Request::is( 'eventSetting/decoratorIndex' ) || Request::is( 'eventSetting/decoratorIndex' ) ? 'class="active"' : '' ); ?>>
            <a href="<?php echo e(url('eventSetting/decoratorIndex')); ?>">
                <i class="material-icons ">card_giftcard</i>
                <span class="nav-text"><?php echo e(trans('left_menu.decorator')); ?></span></a>
        </li>
        <li <?php echo (Request::is( 'eventSetting/miscellaneous' ) || Request::is( 'eventSetting/miscellaneous' ) ? 'class="active"' : '' ); ?>>
            <a href="<?php echo e(url('eventSetting/miscellaneous')); ?>">
                <i class="material-icons ">local_library</i>
                <span class="nav-text"><?php echo e(trans('left_menu.miscellaneous')); ?></span></a>
        </li>
    </ul>
</li>
<li hidden <?php echo ((Request::is( 'eventSetting/parkingIndex' )) ||(Request::is( 'eventSetting/equipIndex' )) || Request::is( 'eventSetting/transportIndex' ) || Request::is( 'eventSetting/eventLocation' ) || Request::is( 'eventSetting/eventRoom' ) || Request::is( 'eventSetting/hotel' ) || (Request::is( 'eventSetting/agreementPolicies' )) ? 'class="active"' : '' ); ?>>
    <a>
        <span class="nav-caret pull-right"><i class="fa fa-angle-right"></i></span>
        <span class="nav-icon"><i class="material-icons">settings_applications</i></span>
        <span class="nav-text"><?php echo e(trans('left_menu.event_setting')); ?></span>
    </a>
    <ul class="nav-sub">
        <li <?php echo (Request::is( 'eventSetting/parkingIndex' ) || Request::is( 'eventSetting/parkingIndex' ) ? 'class="active"' : '' ); ?>>
            <a href="<?php echo e(url('eventSetting/parkingIndex')); ?>">
                <i class="material-icons ">local_parking</i>
                <span class="nav-text"><?php echo e(trans('left_menu.parking')); ?></span></a>
        </li>
        <li <?php echo (Request::is( 'eventSetting/equipIndex' ) || Request::is( 'eventSetting/equipIndex' ) ? 'class="active"' : '' ); ?>>
            <a href="<?php echo e(url('eventSetting/equipIndex')); ?>">
                <i class="material-icons ">speaker</i>
                <span class="nav-text"><?php echo e(trans('left_menu.equipment')); ?></span></a>
        </li>
        <li <?php echo (Request::is( 'eventSetting/transportIndex' ) || Request::is( 'eventSetting/transportIndex' ) ? 'class="active"' : '' ); ?>>
            <a href="<?php echo e(url('eventSetting/transportIndex')); ?>">
                <i class="material-icons ">directions_car</i>
                <span class="nav-text"><?php echo e(trans('left_menu.transport')); ?></span></a>
        </li>
        <li <?php echo (Request::is( 'eventSetting/eventLocation' ) || Request::is( 'eventSetting/eventLocation' ) ? 'class="active"' : '' ); ?>>
            <a href="<?php echo e(url('eventSetting/eventLocation')); ?>">
                <i class="material-icons ">room</i>
                <span class="nav-text"><?php echo e(trans('left_menu.eventLocation')); ?></span></a>
        </li>
        <li <?php echo (Request::is( 'eventSetting/hotel' ) || Request::is( 'eventSetting/hotel' ) ? 'class="active"' : '' ); ?>>
            <a href="<?php echo e(url('eventSetting/hotel')); ?>">
                <i class="material-icons ">hotel</i>
                <span class="nav-text"><?php echo e(trans('left_menu.hotel')); ?></span></a>
        </li>
        <li <?php echo (Request::is( 'eventSetting/eventRoom' ) || Request::is( 'eventSetting/eventRoom' ) ? 'class="active"' : '' ); ?>>
            <a href="<?php echo e(url('eventSetting/eventRoom')); ?>">
                <i class="material-icons ">airline_seat_individual_suite</i>
                <span class="nav-text"><?php echo e(trans('left_menu.eventRoom')); ?></span></a>
        </li>
        <li <?php echo (Request::is( 'eventSetting/agreementPolicies' ) || Request::is( 'eventSetting/agreementPolicies' ) ? 'class="active"' : '' ); ?>>
            <a href="<?php echo e(url('eventSetting/agreementPolicies')); ?>">
                <i class="material-icons ">dvr</i>
                <span class="nav-text"><?php echo e(trans('left_menu.agreement')); ?></span></a>
        </li>
    </ul>
</li>
<li hidden <?php echo (Request::is( 'eventSetting/owner/*' ) || Request::is( 'eventSetting/owner' ) || Request::is( 'eventSetting/manager' ) || Request::is( 'eventSetting/leadSource' ) ? 'class="active"' : '' ); ?>>
    <a>
        <span class="nav-caret pull-right"><i class="fa fa-angle-right"></i></span>
        <span class="nav-icon"><i class="material-icons">toys</i></span>
        <span class="nav-text"><?php echo e(trans('left_menu.eventSource')); ?></span>
    </a>
    <ul class="nav-sub">
        
        
        
        
        
        <li <?php echo (Request::is( 'eventSetting/manager' ) || Request::is( 'eventSetting/manager' ) ? 'class="active"' : '' ); ?>>
            <a href="<?php echo e(url('eventSetting/manager')); ?>">
                <i class="material-icons ">person</i>
                <span class="nav-text"><?php echo e(trans('left_menu.manager')); ?></span></a>
        </li>
        <li <?php echo (Request::is( 'eventSetting/leadSource' ) || Request::is( 'eventSetting/leadSource' ) ? 'class="active"' : '' ); ?>>
            <a href="<?php echo e(url('eventSetting/leadSource')); ?>">
                <i class="material-icons ">leak_add</i>
                <span class="nav-text"><?php echo e(trans('left_menu.leadSource')); ?></span></a>
        </li>
    </ul>
</li>
<li hidden <?php echo (Request::is( 'eventMenu/menu/*' ) || Request::is( 'eventMenu/menu' ) || Request::is( 'eventMenu/menuType' ) || Request::is( 'eventMenu/subMenu' ) || Request::is( 'eventMenu/menuItem' ) ? 'class="active"' : '' ); ?>>
    <a>
        <span class="nav-caret pull-right"><i class="fa fa-angle-right"></i></span>
        <span class="nav-icon"><i class="material-icons">restaurant_menu</i></span>
        <span class="nav-text"><?php echo e(trans('left_menu.menu')); ?></span>
    </a>
    <ul class="nav-sub">
        <li <?php echo (Request::is( 'eventMenu/menu' )? 'class="active"' : '' ); ?>>
            <a href="<?php echo e(url('eventMenu/menu')); ?>">
                <i class="material-icons ">restaurant_menu</i>
                <span class="nav-text"><?php echo e(trans('left_menu.menu')); ?></span></a>
        </li>
        <li <?php echo (Request::is( 'eventMenu/menuType' )? 'class="active"' : '' ); ?>>
            <a href="<?php echo e(url('eventMenu/menuType')); ?>">
                <i class="material-icons ">filter_list</i>
                <span class="nav-text"><?php echo e(trans('left_menu.menuType')); ?></span></a>
        </li>
        <li <?php echo (Request::is( 'eventMenu/subMenu' )? 'class="active"' : '' ); ?>>
            <a href="<?php echo e(url('eventMenu/subMenu')); ?>">
                <i class="material-icons ">format_indent_increase</i>
                <span class="nav-text"><?php echo e(trans('left_menu.subMenu')); ?></span></a>
        </li>
        <li <?php echo (Request::is( 'eventMenu/menuItem' )? 'class="active"' : '' ); ?>>
            <a href="<?php echo e(url('eventMenu/menuItem')); ?>">
                <i class="material-icons ">library_books</i>
                <span class="nav-text"><?php echo e(trans('left_menu.menuItem')); ?></span></a>
        </li>
    </ul>
</li>
<li hidden <?php echo (Request::is( 'email_template/*' ) || Request::is( 'email_template' ) || (Request::is( 'qtemplate/*' )) || Request::is( 'qtemplate' ) ? 'class="active"' : '' ); ?>>
    <a>
        <span class="nav-caret pull-right"><i class="fa fa-angle-right"></i></span>
        <span class="nav-icon"><i class="material-icons">filter_b_and_w</i></span>
        <span class="nav-text"><?php echo e(trans('left_menu.templates')); ?></span>
    </a>
    <ul class="nav-sub">
        <li <?php echo (Request::is( 'email_template/*' ) || Request::is( 'email_template' ) ? 'class="active"' : '' ); ?>>
            <a href="<?php echo e(url('email_template')); ?>">
                <i class="material-icons">email</i>
                <span class="nav-text"><?php echo e(trans('left_menu.email')); ?></span>
            </a>
        </li>
        <li <?php echo (Request::is( 'qtemplate/*' ) || Request::is( 'qtemplate' ) ? 'class="active"' : '' ); ?>>
            <a href="<?php echo e(url('qtemplate')); ?>">
                <i class="material-icons ">image</i>
                <span class="nav-text"><?php echo e(trans('left_menu.quotations')); ?></span></a>
        </li>
    </ul>
</li>
<li <?php echo (Request::is( 'setting/*' ) || Request::is( 'setting' ) ? 'class="active"' : '' ); ?>>
    <a href="<?php echo e(url('setting')); ?>">
        <i class="material-icons">settings</i>
        <span class="nav-text"><?php echo e(trans('left_menu.settings')); ?></span>
    </a>
</li>
<?php endif; ?>
</ul>