<div class="leftbar">
    <div class="sidebar">
        <div class="logobar">
            <a href="<?php echo e(route('dashboard')); ?>" class="logo logo-large">
                <img src="<?php echo e((!empty(get_setting('system_logo')))?url('public/public/uploads/logo/'.get_setting('system_logo')):url('backend/images/fastLogo.jpeg')); ?>" class="img-fluid" alt="logo">
            </a>
            <a href="<?php echo e(route('dashboard')); ?>" class="logo logo-small">
                <img src="<?php echo e((!empty(get_setting('system_icon')))?url('public/public/uploads/logo/'.get_setting('system_icon')):url('backend/images/favicon.png')); ?>" class="img-fluid" alt="logo">
            </a>
        </div>

        <div class="navigationbar">
            <ul class="vertical-menu">
                <li>
                    <a href="<?php echo e(route('dashboard')); ?>">
                        <i class="fa fa-dashboard"></i>
                        <span>Dashboard</span>
                    </a>
                </li>

                <div class="menu-category menu-padding">
                    SALE & PURCHASE
                </div>

                <li>
                    <a href="<?php echo e(route('invoice.create')); ?>">
                        <i class="fa fa-cart-plus"></i>
                        <span>POS</span>
                    </a>
                </li>

                <?php if(main_menu_permission('invoice')): ?>
                    <li>
                        <?php if(check_permission('invoice.index')): ?>
                            <a href="<?php echo e(route('invoice.index')); ?>">
                                <i class="fa fa-shopping-bag"></i>
                                <span>Sale List</span>
                            </a>
                        <?php endif; ?>
                    </li>
                <?php endif; ?>

                <?php if(main_menu_permission('purchase')): ?>
                    <li>
                        <a href="javaScript:void();">
                            <i class="fa fa-book"></i>
                            <span>Purchase</span>
                            <i class="feather icon-chevron-right pull-right"></i>
                        </a>
                        <ul class="vertical-submenu">
                            <?php if(check_permission('purchase.create')): ?>
                                <li>
                                    <a href="<?php echo e(route('purchase.create')); ?>">
                                        Add Purchase
                                    </a>
                                </li>
                            <?php endif; ?>
                            <?php if(check_permission('purchase.index')): ?>
                                <li>
                                    <a href="<?php echo e(route('purchase.index')); ?>">
                                        Purchase List
                                    </a>
                                </li>
                            <?php endif; ?>
                        </ul>
                    </li>
                <?php endif; ?>

                <li>
                    <a href="javaScript:void();">
                        <i class="fa fa-undo"></i>
                        <span>Return</span>
                        <i class="feather icon-chevron-right pull-right"></i>
                    </a>
                    <ul class="vertical-submenu">
                        <?php if(check_permission('return.sale')): ?>
                            <li>
                                <a href="<?php echo e(route('return.sale')); ?>">
                                    Return Sale List
                                </a>
                            </li>
                        <?php endif; ?>
                        <?php if(check_permission('rtnPurchase.index')): ?>
                            <li>
                                <a href="<?php echo e(route('rtnPurchase.index')); ?>">
                                    Return Purchase List
                                </a>
                            </li>
                        <?php endif; ?>
                    </ul>
                </li>
                <li>
                    <a href=<?php echo e(route('damage.index')); ?>><i class="fa fa-trash" aria-hidden="true"></i>
                        <span>Damage</span>
                    </a>
                </li>
                <?php if(check_permission('report.stock')): ?>
                    <li>
                        <a href="<?php echo e(route('report.stock')); ?>"><i class="fa fa-cube" aria-hidden="true"></i>
                            <span>Stock Report</span>
                        </a>
                    </li>
                <?php endif; ?>
                <div class="menu-category menu-padding">
                    Product Information
                </div>
                <?php if(check_permission('unit.index')): ?>
                    <li>
                        <a href="<?php echo e(route('unit.index')); ?>">
                            <i class="fa fa-th-large"></i>
                            <span>Unit</span>
                        </a>
                    </li>
                <?php endif; ?>

                
                <li>
                    <a href="javaScript:void();">
                        <i class="fa fa-product-hunt"></i>
                        <span>Product</span>
                        <i class="feather icon-chevron-right pull-right"></i>
                    </a>
                    <ul class="vertical-submenu">
                        
                        <?php if(check_permission('product.create')): ?>
                            <li>
                                <a href="<?php echo e(route('product.create')); ?>">
                                    Add Product
                                </a>
                            </li>
                        <?php endif; ?>
                        
                        <?php if(check_permission('product.index')): ?>
                            <li>
                                <a href="<?php echo e(route('product.index')); ?>">
                                    Product List
                                </a>
                            </li>
                        <?php endif; ?>
                    </ul>
                </li>
                <?php if(env('APP_SERVICE') == 'yes'): ?>
                    <?php if(main_menu_permission('service')): ?>
                        <li>
                            <a href="javaScript:void();">
                                <i class="fa fa-book"></i>
                                <span>Service</span>
                                <i class="feather icon-chevron-right pull-right"></i>
                            </a>
                            <ul class="vertical-submenu">
                                <?php if(check_permission('service.create')): ?>
                                    <li>
                                        <a href="<?php echo e(route('service.create')); ?>">
                                            Add Service
                                        </a>
                                    </li>
                                <?php endif; ?>
                                <?php if(check_permission('service.index')): ?>
                                    <li>
                                        <a href="<?php echo e(route('service.index')); ?>">
                                            Service List
                                        </a>
                                    </li>
                                <?php endif; ?>
                            </ul>
                        </li>
                    <?php endif; ?>
                <?php endif; ?>
                
                <?php if(check_permission('category.index')): ?>
                    <li>
                        <a href="<?php echo e(route('category.index')); ?>">
                            <i class="fa fa-outdent"></i>
                            <span>Category</span>
                        </a>
                    </li>
                <?php endif; ?>

                
                <?php if(check_permission('brand.index')): ?>
                    <li>
                        <a href="<?php echo e(route('brand.index')); ?>">
                            <i class="fa fa-shield"></i>
                            <span>Brand</span>
                        </a>
                    </li>
                <?php endif; ?>
                <?php if(env('APP_SC') == 'yes'): ?>
                    
                    <?php if(check_permission('color.index')): ?>
                        <li>
                            <a href="<?php echo e(route('color.index')); ?>">
                                <i class="fa fa-shield"></i>
                                <span>Color</span>
                            </a>
                        </li>
                    <?php endif; ?>
                    
                    <?php if(check_permission('size.index')): ?>
                        <li>
                            <a href="<?php echo e(route('size.index')); ?>">
                                <i class="fa fa-shield"></i>
                                <span>Size</span>
                            </a>
                        </li>
                    <?php endif; ?>
                    
                    
                <?php endif; ?>

                <?php if(env('APP_USED') == 'yes'): ?>
                    <div class="menu-category menu-padding">
                        Used Product Information
                    </div>
                    <?php if(main_menu_permission('usedProduct')): ?>
                        
                        <li>
                            <a href="javaScript:void();">
                                <i class="fa fa-product-hunt"></i>
                                <span>Product</span>
                                <i class="feather icon-chevron-right pull-right"></i>
                            </a>
                            <ul class="vertical-submenu">
                                
                                <?php if(check_permission('usedProduct.create')): ?>
                                    <li>
                                        <a href="<?php echo e(route('usedProduct.create')); ?>">
                                            Add Product
                                        </a>
                                    </li>
                                <?php endif; ?>
                                
                                <?php if(check_permission('usedProduct.index')): ?>
                                    <li>
                                        <a href="<?php echo e(route('usedProduct.index')); ?>">
                                            Product List
                                        </a>
                                    </li>
                                <?php endif; ?>
                            </ul>
                        </li>
                    <?php endif; ?>
                    <?php if(main_menu_permission('usedPurchase')): ?>
                        <li>
                            <a href="javaScript:void();">
                                <i class="fa fa-book"></i>
                                <span>Buy</span>
                                <i class="feather icon-chevron-right pull-right"></i>
                            </a>
                            <ul class="vertical-submenu">
                                <?php if(check_permission('usedPurchase.create')): ?>
                                    <li>
                                        <a href="<?php echo e(route('usedPurchase.create')); ?>">
                                            Add Buy
                                        </a>
                                    </li>
                                <?php endif; ?>
                                <?php if(check_permission('usedPurchase.index')): ?>
                                    <li>
                                        <a href="<?php echo e(route('usedPurchase.index')); ?>">
                                            Buy List
                                        </a>
                                    </li>
                                <?php endif; ?>
                            </ul>
                        </li>
                    <?php endif; ?>
                    <?php if(main_menu_permission('used')): ?>
                        <li>
                            <a href="javaScript:void();">
                                <i class="fa fa-book"></i>
                                <span>Used</span>
                                <i class="feather icon-chevron-right pull-right"></i>
                            </a>
                            <ul class="vertical-submenu">
                                <?php if(check_permission('used.create')): ?>
                                    <li>
                                        <a href="<?php echo e(route('used.create')); ?>">
                                            Add Used
                                        </a>
                                    </li>
                                <?php endif; ?>
                                <?php if(check_permission('used.index')): ?>
                                    <li>
                                        <a href="<?php echo e(route('used.index')); ?>">
                                            Used List
                                        </a>
                                    </li>
                                <?php endif; ?>
                            </ul>
                        </li>
                    <?php endif; ?>
                    <?php if(check_permission('report.used-stock')): ?>
                    <li>
                        <a href="<?php echo e(route('report.used-stock')); ?>"><i class="fa fa-cube" aria-hidden="true"></i>
                            <span>Used Stock Report</span>
                        </a>
                    </li>
                <?php endif; ?>
                <?php endif; ?>
                <div class="menu-category menu-padding">
                    EXPENSE & PAYMENT
                </div>

                
                <li>
                    <a href="javaScript:void();">
                        <i class="fa fa-paper-plane"></i>
                        <span>Expense</span>
                        <i class="feather icon-chevron-right pull-right"></i>
                    </a>
                    <ul class="vertical-submenu">
                        <?php if(check_permission('expense.create')): ?>
                            <li>
                                <a href="<?php echo e(route('expense.create')); ?>">
                                    Add Expense
                                </a>
                            </li>
                        <?php endif; ?>
                        <?php if(check_permission('expense.index')): ?>
                            <li>
                                <a href="<?php echo e(route('expense.index')); ?>">
                                    Expense List
                                </a>
                            </li>
                        <?php endif; ?>
                        
                        <?php if(check_permission('expense.category-index')): ?>
                            <li>
                                <a href="<?php echo e(route('expense.category-index')); ?>">
                                    Expense Category
                                </a>
                            </li>
                        <?php endif; ?>
                    </ul>
                </li>

                
                <li>
                    <a href="javaScript:void();">
                        <i class="fa fa-money"></i>
                        <span>Payment</span>
                        <i class="feather icon-chevron-right pull-right"></i>
                    </a>
                    <ul class="vertical-submenu">
                        
                        <?php if(check_permission('payment.pay-supplier')): ?>
                            <li>
                                <a href="<?php echo e(route('payment.pay-supplier')); ?>">
                                    Pay Supplier
                                </a>
                            </li>
                        <?php endif; ?>
                        
                        <?php if(check_permission('payment.pay-customer')): ?>
                            <li>
                                <a href="<?php echo e(route('payment.pay-customer')); ?>">
                                    Pay Customer
                                </a>
                            </li>
                        <?php endif; ?>
                    </ul>
                </li>

                <div class="menu-category menu-padding">
                    Customer & Supplier
                </div>

                <li>
                    <a href="<?php echo e(route('supplier.index')); ?>">
                        <i class="fa fa-suitcase"></i>
                        <span>Supplier</span>
                    </a>
                </li>

                <li>
                    <a href="<?php echo e(route('customer.index')); ?>" class="<?php echo e(request()->is('customer*') ? 'active' : ''); ?>">
                        <i class="fa fa-briefcase"></i>
                        <span>Customer</span>
                    </a>
                </li>

                <div class="menu-category menu-padding">
                    Account
                </div>

                <?php if(main_menu_permission('bank-account')): ?>

                    <li>
                        <a href="javaScript:void();">
                            <i class="fa fa-university"></i>
                            <span>Account</span>
                            <i class="feather icon-chevron-right pull-right"></i>
                        </a>
                        <ul class="vertical-submenu">
                            <?php if(check_permission('bank-account.index')): ?>
                                <li>
                                    <a href="<?php echo e(url('bank-account')); ?>">
                                        Bank Account
                                    </a>
                                </li>
                            <?php endif; ?>
                            <?php if(check_permission('deposit-create')): ?>
                                <li>
                                    <a href="<?php echo e(url('deposit')); ?>">
                                        Deposit
                                    </a>
                                </li>
                            <?php endif; ?>
                            <?php if(check_permission('bank-transfer-index')): ?>
                                <li>
                                    <a href="<?php echo e(url('bank-transfer-index')); ?>">
                                        Transfer
                                    </a>
                                </li>
                            <?php endif; ?>
                            <?php if(check_permission('withdraw')): ?>
                                <li>
                                    <a href="<?php echo e(url('withdraw')); ?>">
                                        Withdraw
                                    </a>
                                </li>
                            <?php endif; ?>
                            <?php if(check_permission('transaction-history')): ?>
                                <li>
                                    <a href="<?php echo e(url('transaction-history')); ?>">
                                        Transaction History </a>
                                </li>
                            <?php endif; ?>
                            <?php if(env('APP_MODE') == 'demo'): ?>
                                <li>
                                    <a href="#">
                                        Balance Sheet <span class="badge badge-danger">Coming</span>
                                    </a>
                                </li>
                                <li>
                                    <a href="#">
                                        Trial Balance <span class="badge badge-danger">Coming</span>
                                    </a>
                                </li>
                                <li>
                                    <a href="#">
                                        Cash Flow <span class="badge badge-danger">Coming</span>
                                    </a>
                                </li>
                            <?php endif; ?>
                        </ul>
                    </li>

                <?php endif; ?>

                <div class="menu-category menu-padding">
                    Promotion
                </div>
                <li>
                    <a href="<?php echo e(url('sms')); ?>">
                        Promotional Sms
                    </a>
                </li>

                <div class="menu-category menu-padding">
                    Report & Ledger
                </div>

                <li>
                    <a href="javaScript:void();">
                        <i class="fa fa-file-text"></i>
                        <span>Report</span>
                        <i class="feather icon-chevron-right pull-right"></i>
                    </a>
                    <ul class="vertical-submenu">
                        <?php if(check_permission('report.stock')): ?>
                            <li>
                                <a href="<?php echo e(route('report.stock')); ?>">
                                    Stock Report
                                </a>
                            </li>
                        <?php endif; ?>
                        <?php if(check_permission('report.daily')): ?>
                            <li>
                                <a href="<?php echo e(route('report.daily')); ?>">
                                    Daily Report
                                </a>
                            </li>
                        <?php endif; ?>
                        <?php if(check_permission('report.sale')): ?>
                            <li>
                                <a href="<?php echo e(route('report.sale')); ?>">
                                    Sale Report
                                </a>
                            </li>
                        <?php endif; ?>
                        <?php if(check_permission('report.purchase')): ?>
                            <li>
                                <a href="<?php echo e(route('report.purchase')); ?>">
                                    Purchase Report
                                </a>
                            </li>
                        <?php endif; ?>

                        <?php if(check_permission('report.supplier-ledger')): ?>
                            <li>
                                <a href="<?php echo e(route('report.supplier-ledger')); ?>">
                                    Supplier Ledger
                                </a>
                            </li>
                        <?php endif; ?>
                        <?php if(check_permission('report.customer-ledger')): ?>
                            <li>
                                <a href="<?php echo e(route('report.customer-ledger')); ?>">
                                    Customer Ledger
                                </a>
                            </li>
                        <?php endif; ?>
                        <?php if(check_permission('report.profit-loss')): ?>
                            <li>
                                <a href="<?php echo e(route('report.profit-loss')); ?>">
                                    Profit Loss Report
                                </a>
                            </li>
                        <?php endif; ?>
                        <?php if(check_permission('report.low.stock')): ?>
                            <li>
                                <a href="<?php echo e(route('report.low.stock')); ?>">
                                    Low Stock Report
                                </a>
                            </li>
                        <?php endif; ?>
                        <?php if(check_permission('report.user.sell')): ?>
                            <li>
                                <a href="<?php echo e(route('report.user.sell')); ?>">
                                    User Sell Report
                                </a>
                            </li>
                        <?php endif; ?>
                        <?php if(check_permission('report.customer-due')): ?>
                            <li>
                                <a href="<?php echo e(route('report.customer-due')); ?>">
                                    Customer Due
                                </a>
                            </li>
                        <?php endif; ?>
                        <?php if(check_permission('report.supplier-due')): ?>
                            <li>
                                <a href="<?php echo e(route('report.supplier-due')); ?>">
                                    Supplier Due
                                </a>
                            </li>
                        <?php endif; ?>
                    </ul>
                </li>

                <div class="menu-category menu-padding">
                    Setting & Customize
                </div>

                
                <?php if(main_menu_permission('user')): ?>
                    <li>
                        <a href="javaScript:void();">
                            <i class="fa fa-users"></i>
                            <span>User Management</span>
                            <i class="feather icon-chevron-right pull-right"></i>
                        </a>
                        <ul class="vertical-submenu">
                            <?php if(check_permission('user.create')): ?>
                                <li>
                                    <a href="<?php echo e(route('user.create')); ?>">
                                        Add User
                                    </a>
                                </li>
                            <?php endif; ?>

                            <?php if(check_permission('user.index')): ?>
                                <li>
                                    <a href="<?php echo e(route('user.index')); ?>">
                                        User List
                                    </a>
                                </li>
                            <?php endif; ?>

                        </ul>
                    </li>
                <?php endif; ?>

                
                <li>
                    <a href="javaScript:void();">
                        <i class="fa fa-check-square"></i>
                        <span>Role Management</span>
                        <i class="feather icon-chevron-right pull-right"></i>
                    </a>
                    <ul class="vertical-submenu">
                        
                        <li>
                            <a href="<?php echo e(route('roles-permission.index')); ?>">
                                Role & Permission
                            </a>
                        </li>
                        
                    </ul>
                </li>
                

                <?php if(check_permission('setting.index')): ?>
                    <li>
                        <a href="<?php echo e(route('setting.index')); ?>">
                            <i class="fa fa-cogs"></i>
                            <span>Setting</span>
                        </a>
                    </li>
                <?php endif; ?>

                <?php if(check_permission('status.download.backup')): ?>
                    <li>
                        <a href="<?php echo e(route('status.download.backup')); ?>">
                            <i class="fa fa-cloud-download"></i>
                            <span>Backup</span>
                        </a>
                    </li>
                <?php endif; ?>

            </ul>
        </div>
    </div>
</div>
<?php /**PATH D:\laragon\www\new demo multi-bank\resources\views/backend/layouts/includes/sidebar.blade.php ENDPATH**/ ?>