<li
    class="nav-item <?php echo e(request()->routeIs([
        'newOtcPaymentReport',
        'cash-in-hand',
        'commission-in-hand',
        'resellerRechargeReport.index',
        'subResellerRechargeReport.index',
        'ReselleBalanceLog.index',
        'subResellerBalanceLog.index',
        'billSheet',
        'paymentReport',
        'otcPaymentReport',
        'moneyReceiptSearch',
        'clientSearchBTRC',
        'clientNewSearchBTRC',
        'incomeReport',
        'expenseReport',
        'otcReport',
        'dueOtcReport',
        'marketingCustomer',
        'due-customer',
        'bill-extended-customers',
        'bill-generate',
        'recent-customer-report',
        'missing-bill-generate',
        'billPaymentReport',
        'pgw_response_log',
        'permanent-discount-list',
        'schedule-package-change-list',
        'expire-but-online',
        'runningMonthDue',
        'bkashPaymentResellerReport',
        'paymentInvoicePrint',
        'reseller-due-customer-list',
        'reseller-customer-payment-report',
        'resellerWiseTotalCost',
    ])
        ? 'menu-open'
        : ''); ?>">
    <a href="#" class="nav-link ">
        <i class="nav-icon fas fa-table"></i>
        <p>
            Reports
            <i class="fas fa-angle-left right"></i>
        </p>
    </a>
    <ul class="nav nav-treeview ">
        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('advanced-balance-list')): ?>
            <li class="nav-item"><a href="<?php echo e(route('advanced-balanced-customer')); ?>"
                    class="nav-link <?php echo e(request()->routeIs(['advanced-balanced-customer']) ? 'active' : ''); ?>">
                    <i class="ml-2 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                    <p>Advanced Balance</p>
                </a></li>
        <?php endif; ?>

        <?php if(getBillingType() === 'monthly'): ?>
            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('bill_payment_report')): ?>
                <li class="nav-item">
                    <a href="<?php echo e(route('billPaymentReport')); ?>"
                        class="nav-link <?php echo e(request()->routeIs(['billPaymentReport']) ? 'active' : ''); ?>">
                        <i class="ml-2 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                        <p>Bill Payment History</p>
                    </a>
                </li>
            <?php endif; ?>
            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('bill-sheet')): ?>
                <li class="nav-item">
                    <a href="<?php echo e(route('billSheet')); ?>"
                        class="nav-link <?php echo e(request()->routeIs(['billSheet']) ? 'active' : ''); ?>">
                        <i class="ml-2 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                        <p>Bill Sheet</p>
                    </a>
                </li>
            <?php endif; ?>
        <?php endif; ?>
            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('bill-generate-report')): ?>
                <li class="nav-item">
                    <a href="<?php echo e(route('bill-generate')); ?>"
                        class="nav-link <?php echo e(request()->routeIs(['bill-generate']) ? 'active' : ''); ?>">
                        <i class="ml-2 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                        <p>Bill Generate</p>
                    </a>
                </li>
            <?php endif; ?>
        <?php if(checkSettings('ResellerClientOnlineRecharge') == 'enable'): ?>
                <li class="nav-item"><a href="<?php echo e(route('bkashPaymentResellerReport')); ?>"
                    class="nav-link <?php echo e(request()->routeIs(['bkashPaymentResellerReport']) ? 'active' : ''); ?>">
                    <i class="ml-2 fa fa
                    -circle nav-icon" style="font-size: 6px !important"></i>
                    <p>Bkash Payment Reseller Report</p>
                </a></li>
        <?php endif; ?>
        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('bkashWebhookReport')): ?>
            <li class="nav-item">
                <a href="<?php echo e(route('bkashWebhookReport')); ?>"
                    class="nav-link <?php echo e(request()->routeIs(['bkashWebhookReport']) ? 'active' : ''); ?>">
                    <i class="ml-2 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                    <p>Bkash Webhook Log</p>
                </a>
            </li>
        <?php endif; ?>

        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('customer-list-for-BTRC')): ?>
            <li class="nav-item"><a href="<?php echo e(route('clientNewSearchBTRC')); ?>"
                    class="nav-link <?php echo e(request()->routeIs(['clientNewSearchBTRC']) ? 'active' : ''); ?>">
                    <i class="ml-2 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                    <p>BTRC Customer Export</p>
                </a></li>
        <?php endif; ?>

        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('cash-in-hand')): ?>
            <li class="nav-item">
                <a href="<?php echo e(route('cash-in-hand', 'all')); ?>"
                    class="nav-link <?php echo e(request()->routeIs(['cash-in-hand']) ? 'active' : ''); ?>">
                    <i class="ml-2 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                    <p>Cash In Hand</p>
                </a>
            </li>
        <?php endif; ?>

        
            
        
        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('duplicate-money-receipt')): ?>

            <li class="nav-item"><a href="<?php echo e(route('duplicate-money-receipt')); ?>"
                    class="nav-link <?php echo e(request()->routeIs(['due-customer']) ? 'active' : ''); ?>">
                    <i class="ml-2 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                    <p>Duplicate Money Receipt</p>
                </a>
            </li>
        <?php endif; ?>

        <?php if(getBillingType() === 'monthly'): ?>
            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('due-customer-list')): ?>
                <li class="nav-item"><a href="<?php echo e(route('due-customer')); ?>"
                        class="nav-link <?php echo e(request()->routeIs(['due-customer']) ? 'active' : ''); ?>">
                        <i class="ml-2 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                        <p>Due Customers</p>
                    </a>
                </li>
            <?php endif; ?>
        <?php endif; ?>
        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('due-amount-check-by-month')): ?>

            <li class="nav-item"><a href="<?php echo e(route('due-amount-check-by-month')); ?>" class="nav-link <?php echo e(request()->routeIs(['due-amount-check-by-month']) ? 'active' : ''); ?>">
                    <i class="ml-2 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                    <p>Due Amount Check by Month</p>
                </a>
            </li>
        <?php endif; ?>

        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('bill-extended-customers')): ?>
            <li class="nav-item">
                <a href="<?php echo e(route('bill-extended-customers')); ?>"
                    class="nav-link <?php echo e(request()->routeIs(['bill-extended-customers']) ? 'active' : ''); ?>">
                    <i class="ml-2 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                    <p>Expired Extended Customers</p>
                </a>
            </li>
        <?php endif; ?>

        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('expense-report')): ?>
            <li class="nav-item"><a href="<?php echo e(route('expenseReport')); ?>"
                    class="nav-link <?php echo e(request()->routeIs(['expenseReport']) ? 'active' : ''); ?>">
                    <i class="ml-2 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                    <p>Expense Report</p>
                </a></li>
        <?php endif; ?>
        <?php if(!checkAPI()): ?>

            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('expire-but-online-customers')): ?>
                <li class="nav-item"><a href="<?php echo e(route('expire-but-online')); ?>"
                        class="nav-link <?php echo e(request()->routeIs(['expire-but-online']) ? 'active' : ''); ?>">
                        <i class="ml-2 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                        <p>Expire But online Customers</p>
                    </a></li>
            <?php endif; ?>
        <?php endif; ?>

        <?php if(checkSettings('client_import_amount_report') == 'enable'): ?>
            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('client_import_amount_report')): ?>
                <li class="nav-item"><a href="<?php echo e(route('importClinetDue')); ?>"
                    class="nav-link <?php echo e(request()->routeIs(['importClinetDue']) ? 'active' : ''); ?>">
                    <i class="ml-2 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                    <p>Import Client Due</p>
                </a></li>
            <?php endif; ?>
        <?php endif; ?>

        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('income-report')): ?>
            <li class="nav-item"><a href="<?php echo e(route('incomeReport')); ?>"
                    class="nav-link <?php echo e(request()->routeIs(['incomeReport']) ? 'active' : ''); ?>">
                    <i class="ml-2 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                    <p>Income Report</p>
                </a></li>
        <?php endif; ?>


        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('reseller-balance-log-report')): ?>
            <li class="nav-item"><a href="<?php echo e(route('ReselleBalanceLog.index')); ?>"
                    class="nav-link <?php echo e(request()->routeIs(['ReselleBalanceLog.index']) ? 'active' : ''); ?>">
                    <i class="ml-2 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                    <p>Manager Balance Log</p>
                </a></li>
        <?php endif; ?>
            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('reseller-balance-log-total-report')): ?>
                <li class="nav-item"><a href="<?php echo e(route('resellerWiseTotalCost')); ?>"
                        class="nav-link <?php echo e(request()->routeIs(['resellerWiseTotalCost']) ? 'active' : ''); ?>">
                        <i class="ml-2 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                        <p>Manager Wise Balance Log</p>
                    </a>
                </li>
            <?php endif; ?>

        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('commission-in-hand')): ?>
            <li class="nav-item">
                <a href="<?php echo e(route('commission-in-hand', 'all')); ?>"
                    class="nav-link <?php echo e(request()->routeIs(['commission-in-hand']) ? 'active' : ''); ?>">
                    <i class="ml-2 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                    <p>Manager Commission</p>
                </a>
            </li>
        <?php endif; ?>

        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('reseller-recharge-report')): ?>
            <li class="nav-item">
                <a href="<?php echo e(route('resellerRechargeReport.index')); ?>"
                    class="nav-link <?php echo e(request()->routeIs(['resellerRechargeReport.index']) ? 'active' : ''); ?>">
                    <i class="ml-2 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                    <p>Manager Recharge</p>
                </a>
            </li>
        <?php endif; ?>


        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('customer-marketed-by')): ?>
            <li class="nav-item"><a href="<?php echo e(route('marketingCustomer')); ?>"
                    class="nav-link <?php echo e(request()->routeIs(['marketingCustomer']) ? 'active' : ''); ?>">
                    <i class="ml-2 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                    <p>Marketing Customer</p>
                </a></li>
        <?php endif; ?>

        <?php if(getBillingType() === 'monthly'): ?>
            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('missing-bill-generate-report')): ?>
                <li class="nav-item">
                    <a href="<?php echo e(route('missing-bill-generate')); ?>"
                        class="nav-link <?php echo e(request()->routeIs(['missing-bill-generate']) ? 'active' : ''); ?>">
                        <i class="ml-2 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                        <p>Missing Bill Generate</p>
                    </a>
                </li>
            <?php endif; ?>
        <?php endif; ?>

        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('new-customer-billing-report')): ?>
            <li class="nav-item">
                <a href="<?php echo e(route('recent-customer-report')); ?>"
                    class="nav-link <?php echo e(request()->routeIs(['recent-customer-report']) ? 'active' : ''); ?>">
                    <i class="ml-2 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                    <p>New customer billing report</p>
                </a>
            </li>
        <?php endif; ?>


        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('otc-report')): ?>

            <li
                class="nav-item <?php echo e(request()->routeIs(['otcPaymentReport', 'otcReport', 'dueOtcReport', 'newOtcPaymentReport']) ? 'menu-open' : ''); ?>">
                <a href="#" class="nav-link">
                    <i class="ml-3 nav-icon fas fa-copy"></i>
                    <p>
                        OTC
                        <i class="fas fa-angle-left right"></i>
                    </p>
                </a>
                <ul class="nav nav-treeview">

                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('due-otc-report')): ?>
                        <li class="nav-item"><a href="<?php echo e(route('dueOtcReport')); ?>"
                                class="nav-link <?php echo e(request()->routeIs(['dueOtcReport']) ? 'active' : ''); ?>">
                                <i class="ml-4 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                                <p>Due OTC</p>
                            </a>
                        </li>
                    <?php endif; ?>

                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('payment-report')): ?>
                        <li class="nav-item"><a href="<?php echo e(route('otcPaymentReport')); ?>"
                                class="nav-link <?php echo e(request()->routeIs(['otcPaymentReport']) ? 'active' : ''); ?>">
                                <i class="ml-4 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                                <p>OTC Payment</p>
                            </a>
                        </li>
                    <?php endif; ?>

                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('payment-report')): ?>
                        <?php if(globalPermission('otc_payment_with_generale_payment')): ?>
                            <li class="nav-item">
                                <a href="<?php echo e(route('newOtcPaymentReport')); ?>"
                                    class="nav-link <?php echo e(request()->routeIs(['newOtcPaymentReport']) ? 'active' : ''); ?>">
                                    <i class="ml-4 far fa-circle nav-icon" style="font-size: 6px !important"></i>
                                    <p>New OTC Payment</p>
                                </a>
                            </li>
                        <?php endif; ?>
                    <?php endif; ?>

                    

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


        <?php if(checkSettings('schedule_package') == 'enable'): ?>

            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('schedule-package-change')): ?>

                <li class="nav-item"><a href="<?php echo e(route('schedule-package-change-list')); ?>"
                        class="nav-link <?php echo e(request()->routeIs(['schedule-package-change-list']) ? 'active' : ''); ?>">
                        <i class="ml-2 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                        <p>Schedule Package Change</p>
                    </a>
                </li>
            <?php endif; ?>

        <?php endif; ?>


        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('payment-history')): ?>
            <li class="nav-item"><a href="<?php echo e(route('paymentReport')); ?>"
                    class="nav-link <?php echo e(request()->routeIs(['paymentReport']) ? 'active' : ''); ?>">
                    <i class="ml-2 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                    <p>Payment History</p>
                </a>
            </li>
        <?php endif; ?>
        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('client-payment-Invoice')): ?>
            <li class="nav-item"><a href="<?php echo e(route('paymentInvoicePrint')); ?>"
                    class="nav-link <?php echo e(request()->routeIs(['paymentInvoicePrint']) ? 'active' : ''); ?>">
                    <i class="ml-2 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                    <p>Payment Invoice Print</p>
                </a>
            </li>
        <?php endif; ?>

        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('permanent-discount-list')): ?>
            <li class="nav-item"><a href="<?php echo e(route('permanent-discount-list')); ?>"
                    class="nav-link <?php echo e(request()->routeIs(['permanent-discount-list']) ? 'active' : ''); ?>">
                    <i class="ml-2 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                    <p>Parmanent Discount List </p>
                </a>
            </li>
        <?php endif; ?>



        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('pgw_response_log')): ?>
            <li class="nav-item"><a href="<?php echo e(route('pgw_response_log')); ?>"
                    class="nav-link <?php echo e(request()->routeIs(['pgw_response_log']) ? 'active' : ''); ?>">
                    <i class="ml-2 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                    <p>Pgw Response Log</p>
                </a>
            </li>
        <?php endif; ?>

        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('running-due')): ?>
            <li class="nav-item">
                <a href="<?php echo e(route('runningMonthDue')); ?>"
                    class="nav-link <?php echo e(request()->routeIs(['runningMonthDue']) ? 'active' : ''); ?>">
                    <i class="ml-2 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                    <p>Runnign Month Due</p>
                </a>
            </li>
        <?php endif; ?>

        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('money-receipt-search')): ?>
            <li class="nav-item"><a href="<?php echo e(route('moneyReceiptSearch')); ?>"
                    class="nav-link <?php echo e(request()->routeIs(['moneyReceiptSearch']) ? 'active' : ''); ?>">
                    <i class="ml-2 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                    <p>Search Money Receipt</p>
                </a></li>
        <?php endif; ?>

        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('sub-reseller-balance-log-report')): ?>
            <li class="nav-item"><a href="<?php echo e(route('subResellerBalanceLog.index')); ?>"
                    class="nav-link <?php echo e(request()->routeIs(['subResellerBalanceLog.index']) ? 'active' : ''); ?>">
                    <i class="ml-2 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                    <p>S-Manager Balance Log</p>
                </a></li>
        <?php endif; ?>

        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('sub-reseller-recharge-report')): ?>
            <li class="nav-item">
                <a href="<?php echo e(route('subResellerRechargeReport.index')); ?>"
                    class="nav-link <?php echo e(request()->routeIs(['subResellerRechargeReport.index']) ? 'active' : ''); ?>">
                    <i class="ml-2 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                    <p>S-Manager Recharge</p>
                </a>
            </li>
        <?php endif; ?>
        <?php if(globalPermission('reseller-client-billing')): ?>

            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('reseller-due-customer-list')): ?>

                <li class="nav-item"><a href="<?php echo e(route('reseller-due-customer-list')); ?>"
                        class="nav-link <?php echo e(request()->routeIs(['reseller-due-customer-list']) ? 'active' : ''); ?>">
                        <i class="ml-2 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                        <p>Manager Due Customer</p>
                    </a>
                </li>
            <?php endif; ?>

            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('reseller-customer-payment-report')): ?>

                <li class="nav-item"><a href="<?php echo e(route('reseller-customer-payment-report')); ?>"
                        class="nav-link <?php echo e(request()->routeIs(['reseller-customer-payment-report']) ? 'active' : ''); ?>">
                        <i class="ml-2 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                        <p>Manager Payment Report</p>
                    </a>
                </li>
            <?php endif; ?>

            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('reseller-customer-bill-generate-report')): ?>

            <li class="nav-item"><a href="<?php echo e(route('resellerBillGenerateReport')); ?>"
                    class="nav-link <?php echo e(request()->routeIs(['resellerBillGenerateReport']) ? 'active' : ''); ?>">
                    <i class="ml-2 fa fa-circle nav-icon" style="font-size: 6px !important"></i>
                    <p>Manager Bill Generate</p>
                </a>
            </li>
        <?php endif; ?>

        <?php endif; ?>




        

    </ul>
</li>




<li class="nav-item d-none">
    <a href="#" class="nav-link">
        <i class="nav-icon fas fa-cog"></i>
        <p>
            Income
            <i class="fas fa-angle-left right"></i>
        </p>
    </a>
    <ul class="nav nav-treeview ml-2">
        
        <li class="nav-item"><a href="<?php echo e(route('income.index')); ?>" class="nav-link"><i
                    class="fa fa-circle nav-icon"></i>
                <p>View Income</p>
            </a></li>
        

        
        <li class="nav-item"><a href="<?php echo e(route('incomeReport')); ?>" class="nav-link"><i
                    class="fa fa-circle nav-icon"></i>
                <p>View Income Report</p>
            </a>
        </li>

        

    </ul>
</li>

<li class="nav-item d-none">
    <a href="#" class="nav-link">
        <i class="nav-icon fas fa-cog"></i>
        <p>
            Expense
            <i class="fas fa-angle-left right"></i>
        </p>
    </a>
    <ul class="nav nav-treeview ml-2">
        
        <li class="nav-item"><a href="<?php echo e(route('expense.index')); ?>" class="nav-link"><i
                    class="fa fa-circle nav-icon"></i>
                <p>View Expense</p>
            </a></li>
        

        
        <li class="nav-item"><a href="<?php echo e(route('expenseReport')); ?>" class="nav-link"><i
                    class="fa fa-circle nav-icon"></i>
                <p>View Expense Report</p>
            </a></li>

        

    </ul>
</li>
<?php /**PATH /var/www/html/crp/radius-circle/resources/views/layout/leftsidebar/report.blade.php ENDPATH**/ ?>