<?php $__env->startSection('content'); ?>
    <div class="main-content">
        <div class="page-content">
            <div class="container-fluid">
                <div class="page-content-wrapper bg-white p-30 radius-20">
                    <div class="row">
                        <div class="col-12">
                            <div class="page-title-box d-sm-flex align-items-center justify-content-between border-bottom mb-20">
                                <div class="page-title-left">
                                    <h3 class="mb-sm-0"><?php echo e($pageTitle); ?></h3>
                                </div>
                                <div class="page-title-right">
                                    <ol class="breadcrumb mb-0">
                                        <li class="breadcrumb-item"><a href="<?php echo e(route('admin.dashboard')); ?>" title="<?php echo e(__('Dashboard')); ?>"><?php echo e(__('Dashboard')); ?></a></li>
                                        <li class="breadcrumb-item active" aria-current="page"><?php echo e($pageTitle); ?></li>
                                    </ol>
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="billing-center-area bg-off-white theme-border radius-4 p-25">
                            <div class="tbl-tab-wrap border-bottom pb-25 mb-25">
                                <ul class="nav nav-tabs billing-center-nav-tabs" id="myTab" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <button class="nav-link active" id="tableAll-tab" data-bs-toggle="tab"
                                            data-bs-target="#tableAll-tab-pane" type="button" role="tab"
                                            aria-controls="tableAll-tab-pane" aria-selected="true">
                                            <?php echo e(__('All')); ?>

                                        </button>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <button class="nav-link" id="tablePaid-tab" data-bs-toggle="tab"
                                            data-bs-target="#tablePaid-tab-pane" type="button" role="tab"
                                            aria-controls="tablePaid-tab-pane" aria-selected="false">
                                            <?php echo e(__('Paid')); ?>

                                        </button>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <button class="nav-link" id="tablePending-tab" data-bs-toggle="tab"
                                            data-bs-target="#tablePending-tab-pane" type="button" role="tab"
                                            aria-controls="tablePending-tab-pane" aria-selected="false">
                                            <?php echo e(__('Pending')); ?>

                                        </button>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <button class="nav-link" id="tableBank-tab" data-bs-toggle="tab"
                                            data-bs-target="#tableBank-tab-pane" type="button" role="tab"
                                            aria-controls="tableBank-tab-pane" aria-selected="false">
                                            <?php echo e(__('Bank Pending')); ?>

                                        </button>
                                    </li>
                                    <li class="nav-item" role="presentation">
                                        <button class="nav-link" id="tableCancelled-tab" data-bs-toggle="tab"
                                            data-bs-target="#tableCancelled-tab-pane" type="button" role="tab"
                                            aria-controls="tableCancelled-tab-pane" aria-selected="false">
                                            <?php echo e(__('Cancelled')); ?>

                                        </button>
                                    </li>
                                </ul>
                            </div>

                            <div class="tab-content" id="myTabContent">
                                <div class="tab-pane fade show active" id="tableAll-tab-pane" role="tabpanel"
                                    aria-labelledby="tableAll-tab" tabindex="0">
                                    <div class="table-responsive">
                                        <table id="allDataTable" class="table theme-border dt-responsive">
                                            <thead>
                                                <tr>
                                                    <th class="all"></th>
                                                    <th class="all"></th>
                                                    <th class="desktop"></th>
                                                    <th class="desktop"></th>
                                                    <th class="all"></th>
                                                </tr>
                                            </thead>
                                        </table>
                                    </div>
                                </div>
                                <div class="tab-pane fade" id="tablePaid-tab-pane" role="tabpanel"
                                    aria-labelledby="tablePaid-tab" tabindex="0">
                                    <div class="table-responsive">
                                        <table id="allPaidDataTable" class="table theme-border dt-responsive">
                                            <thead>
                                                <tr>
                                                    <th class="all"></th>
                                                    <th class="all"></th>
                                                    <th class="desktop"></th>
                                                    <th class="desktop"></th>
                                                    <th class="all"></th>
                                                </tr>
                                            </thead>
                                        </table>
                                    </div>
                                </div>
                                <div class="tab-pane fade" id="tablePending-tab-pane" role="tabpanel"
                                    aria-labelledby="tablePending-tab" tabindex="0">
                                    <div class="table-responsive">
                                        <table id="allPendingDataTable" class="table theme-border dt-responsive">
                                            <thead>
                                                <tr>
                                                    <th class="all"></th>
                                                    <th class="all"></th>
                                                    <th class="desktop"></th>
                                                    <th class="desktop"></th>
                                                    <th class="all"></th>
                                                </tr>
                                            </thead>
                                        </table>
                                    </div>
                                </div>
                                <div class="tab-pane fade" id="tableBank-tab-pane" role="tabpanel"
                                    aria-labelledby="tableBank-tab" tabindex="0">
                                    <div class="table-responsive">
                                        <table id="bankPendingInvoiceDataTable" class="table theme-border dt-responsive">
                                            <thead>
                                                <tr>
                                                    <th class="all"></th>
                                                    <th class="all"></th>
                                                    <th class="desktop"></th>
                                                    <th class="desktop"></th>
                                                    <th class="all"></th>
                                                </tr>
                                            </thead>
                                        </table>
                                    </div>
                                </div>
                                <div class="tab-pane fade" id="tableCancelled-tab-pane" role="tabpanel"
                                    aria-labelledby="tableCancelled-tab" tabindex="0">
                                    <div class="table-responsive">
                                        <table id="allCancelledDataTable" class="table theme-border dt-responsive">
                                            <thead>
                                                <tr>
                                                    <th class="all"></th>
                                                    <th class="all"></th>
                                                    <th class="desktop"></th>
                                                    <th class="desktop"></th>
                                                    <th class="all"></th>
                                                </tr>
                                            </thead>
                                        </table>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    

    <div class="modal fade" id="payStatusChangeModal" tabindex="-1" aria-labelledby="payStatusChangeModalLabel" aria-hidden="true">
        <div class="modal-dialog modal-dialog-centered modal-sm">
            <div class="modal-content">
                <div class="modal-header">
                    <h4 class="modal-title" id="payStatusChangeModalLabel"><?php echo e(__('Payment Status Change')); ?></h4>
                    <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close">
                        <span class="iconify" data-icon="akar-icons:cross"></span>
                    </button>
                </div>
                <form class="ajax" action="<?php echo e(route('admin.subscriptions.order.payment.status.change')); ?>" method="post"
                    data-handler="getShowMessage">
                    <input type="hidden" name="id">
                    <div class="modal-body">
                        <div class="modal-inner-form-box bg-off-white theme-border radius-4 p-20 mb-20 pb-0">
                            <div class="row">
                                <div class="col-md-12 mb-25">
                                    <label
                                        class="label-text-title color-heading font-medium mb-2"><?php echo e(__('Status')); ?></label>
                                    <select class="form-select flex-shrink-0" name="status">
                                        <option value="0"><?php echo e(__('Pending')); ?></option>
                                        <option value="1"><?php echo e(__('Paid')); ?></option>
                                        <option value="2"><?php echo e(__('Cancelled')); ?></option>
                                    </select>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="modal-footer justify-content-start">
                        <button type="button" class="theme-btn-back me-3" data-bs-dismiss="modal"
                            title="<?php echo e(__('Back')); ?>"><?php echo e(__('Back')); ?></button>
                        <button type="submit" class="theme-btn me-3"
                            title="<?php echo e(__('Update')); ?>"><?php echo e(__('Update')); ?></button>
                    </div>
                </form>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<input type="hidden" id="ordersRoute" value="<?php echo e(route('admin.subscriptions.orders')); ?>">
<input type="hidden" id="ordersGetInfoRoute" value="<?php echo e(route('admin.subscriptions.orders.get.info')); ?>">
<input type="hidden" id="ordersPaidRoute" value="<?php echo e(route('admin.subscriptions.orders.payment.status', ['status' => 'paid'])); ?>">
<input type="hidden" id="ordersPendingRoute" value="<?php echo e(route('admin.subscriptions.orders.payment.status', ['status' => 'pending'])); ?>">
<input type="hidden" id="ordersBankRoute" value="<?php echo e(route('admin.subscriptions.orders.payment.status', ['status' => 'bank'])); ?>">
<input type="hidden" id="ordersCancelledRoute" value="<?php echo e(route('admin.subscriptions.orders.payment.status', ['status' => 'cancelled'])); ?>">

<?php $__env->startPush('style'); ?>
    <?php echo $__env->make('admin.layouts.datatable-style', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php $__env->stopPush(); ?>

<?php $__env->startPush('script'); ?>
    <?php echo $__env->make('admin.layouts.datatable-script', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

    <script src="<?php echo e(asset('backend/assets/js/custom/orders.js')); ?>"></script>
<?php $__env->stopPush(); ?>

<?php echo $__env->make('admin.layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /Users/masumbd/project/ZaiwriteAI/resources/views/admin/subscriptions/orders.blade.php ENDPATH**/ ?>