<!-- Main content -->
<div class="content-wrapper">

    <!-- Inner content -->
    <div class="content-inner">

        <!-- card card-header -->
        <div class="card card-header mb-2">

            <div class="text-center border-bottom">
                <h4 class="page-title fw-bold">Stripe Subscriptions</h4>
            </div>

            <div class="row mt-3">

                <div class="col-lg-3 col-md-6 col-sm-12 mb-2">
                    <label class="form-label fw-medium text-uppercase"><?= $translate["status"]; ?></label>
                    <div class="input-group">
                        <span class="input-group-text"><i class="ph ph-list-checks"></i></span>
                        <select class="form-control form-control-lg select2 searchStatus" data-width="1%" onchange="listSubscriptionDataToDatatable();">
                            <option value="active" selected><?= $translate["active"]; ?></option>
                            <option value="canceled"><?= $translate["canceled"]; ?></option>
                        </select>
                    </div>
                </div>

            </div>

        </div>
        <!-- /card card-header -->


        <!-- Content area -->
        <!-- <div class="content"> -->

        <!-- Card layout -->
        <div class="card card-header mt-1">

            <table class="table table-sm table-hover stripe-subscriptions-table">
                <thead>
                    <tr class="table-dark text-uppercase">
                        <th>#</th>
                        <th>Created At</th>
                        <th>Sub ID</th>
                        <th>Customer ID</th>
                        <th>Account ID</th>
                        <th>Enterprise Name</th>
                        <th>Customer Email</th>
                        <th>Customer Name</th>
                        <th>Amount</th>
                        <th>Status</th>
                    </tr>
                </thead>
                <tfoot>
                    <tr class="table-dark text-uppercase fw-bold">
                        <td>__</td>
                        <td>__</td>
                        <td>__</td>
                        <td>__</td>
                        <td>__</td>
                        <td>__</td>
                        <td>__</td>
                        <td><span id="subsTotalPaid">0.00</span></td>
                        <td>__</td>
                        <td>__</td>
                </tfoot>
            </table>

        </div>
        <!-- /Card layout -->


        <!-- </div> -->
        <!-- /content area -->

    </div>
    <!-- /inner content -->

</div>
<!-- /main content -->



<script src="scripts/stripe-management.js?v=<?= md5(time()) ?>"></script>