<!DOCTYPE html>
<html lang="zxx">
    <?php require __DIR__ . '/includes/head.php'; ?>

    <body class="bg-body-bg"><?php require __DIR__ . '/includes/loading.php'; ?><?php require __DIR__ . '/includes/sidebar.php'; ?>


        <!-- Start Main Content Area -->
        <div class="container-fluid">
            <div class="main-content d-flex flex-column">
                <?php require __DIR__ . '/includes/topbar.php'; ?>


                <div class="main-content-container overflow-hidden">
                    <div class="row">
                        <div class="col-xxl-3 col-xxxxl-6">
                            <div class="card bg-white p-20 py-30 rounded-10 border border-white mb-4 position-relative z-1">
                                <div class="d-flex">
                                    <div class="flex-grow-1">
                                        <h3 class="mb-10 lh-1 fs-14 text-body">Profit & Loss</h3>
                                        <h2 class="fs-26 fw-bold mb-10 lh-1">$ 25.6K</h2>
                                        <div class="d-inline-block" style="margin-bottom: 1px;">
                                            <span class="d-flex align-content-center gap-1 bg-success-70 border-white rounded-1" style="padding: 3px 5px;">
                                                <i class="material-symbols-outlined fs-14 text-white">trending_up</i>
                                                <span class="lh-1 fs-14 text-white">4.75%</span>
                                            </span>
                                        </div>
                                        <p class="mb-0 fs-14">Increases this month</p>
                                    </div>
                                    <div class="flex-shrink-0 ms-3 position-relative" style="width: 110px;">
                                        <div class="w-100 position-absolute top-50 translate-middle-y" style="right: -8px;">
                                            <div id="profit_loss_chart"></div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-xxl-3 col-xxxxl-6">
                            <div class="card bg-white p-20 py-30 rounded-10 border border-white mb-4 position-relative z-1">
                                <div class="d-flex">
                                    <div class="flex-grow-1">
                                        <h3 class="mb-10 lh-1 fs-14 text-body">Cash Flow</h3>
                                        <h2 class="fs-26 fw-bold mb-10 lh-1">$ 31.5K</h2>
                                        <div class="d-inline-block" style="margin-bottom: 1px;">
                                            <span class="d-flex align-content-center gap-1 bg-danger border-white rounded-1" style="padding: 3px 5px;">
                                                <i class="material-symbols-outlined fs-14 text-white">trending_down</i>
                                                <span class="lh-1 fs-14 text-white">1.25%</span>
                                            </span>
                                        </div>
                                        <p class="mb-0 fs-14">Decreases this month</p>
                                    </div>
                                    <div class="flex-shrink-0 ms-3 position-relative" style="width: 160px;">
                                        <div class="w-100 position-absolute top-50 translate-middle-y" style="right: -14px;">
                                            <div id="cash_flow_chart"></div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-xxl-3 col-xxxxl-6">
                            <div class="card bg-white p-20 py-30 rounded-10 border border-white mb-4 position-relative z-1">
                                <div class="d-flex">
                                    <div class="flex-grow-1">
                                        <h3 class="mb-10 lh-1 fs-14 text-body">Sales</h3>
                                        <h2 class="fs-26 fw-bold mb-10 lh-1">$ 13.5K</h2>
                                        <div class="d-inline-block" style="margin-bottom: 1px;">
                                            <span class="d-flex align-content-center gap-1 bg-success-70 border-white rounded-1" style="padding: 3px 5px;">
                                                <i class="material-symbols-outlined fs-14 text-white">trending_up</i>
                                                <span class="lh-1 fs-14 text-white">1.53%</span>
                                            </span>
                                        </div>
                                        <p class="mb-0 fs-14">Increases this month</p>
                                    </div>
                                    <div class="flex-shrink-0 ms-3 position-relative" style="width: 170px;">
                                        <div class="w-100 position-absolute top-50 translate-middle-y" style="right: -8px;">
                                            <div id="sales_chart"></div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-xxl-3 col-xxxxl-6">
                            <div class="card bg-white p-20 py-30 rounded-10 border border-white mb-4 position-relative z-1">
                                <div class="d-flex">
                                    <div class="flex-grow-1">
                                        <h3 class="mb-10 lh-1 fs-14 text-body">Payment</h3>
                                        <h2 class="fs-26 fw-bold mb-10 lh-1">$ 15.32K</h2>
                                        <div class="d-inline-block" style="margin-bottom: 1px;">
                                            <span class="d-flex align-content-center gap-1 bg-danger border-white rounded-1" style="padding: 3px 5px;">
                                                <i class="material-symbols-outlined fs-14 text-white">trending_down</i>
                                                <span class="lh-1 fs-14 text-white">0.13%</span>
                                            </span>
                                        </div>
                                        <p class="mb-0 fs-14">Decreases this month</p>
                                    </div>
                                    <div class="flex-shrink-0 ms-3 position-relative" style="width: 155px;">
                                        <div class="w-100 position-absolute top-50 translate-middle-y" style="right: -8px;">
                                            <div id="payment_profit_chart"></div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-xxl-7 col-xxxxxl-12">
                            <div class="card bg-white p-20 rounded-10 border border-white mb-4">
                                <div class="d-flex justify-content-between align-items-center flex-wrap gap-3 mb-20">
                                    <h3>Revenue Vs Operating Margin</h3>
        
                                    <div class="dropdown select-dropdown without-border ms-1">
                                        <button class="dropdown-toggle bg-transparent text-secondary fs-15" data-bs-toggle="dropdown" aria-expanded="false">
                                            This Year
                                        </button>
                                    
                                        <ul class="dropdown-menu dropdown-menu-end bg-white border-0 box-shadow rounded-10" data-simplebar>
                                            <li>
                                                <button class="dropdown-item text-secondary">This Day</button>
                                            </li>
                                            <li>
                                                <button class="dropdown-item text-secondary">This Week</button>
                                            </li>
                                            <li>
                                                <button class="dropdown-item text-secondary">This Month</button>
                                            </li>
                                            <li>
                                                <button class="dropdown-item text-secondary">This Year</button>
                                            </li>
                                        </ul>
                                    </div>
                                </div>
                                
                                <div style="margin: -24px -25px -14px -25px;">
                                    <div id="revenue_vs_operating_margin_chart"></div>
                                </div>
                            </div>
                        </div>
                        <div class="col-xxl-5 col-xxxxxl-12">
                            <div class="card bg-white p-20 rounded-10 border border-white mb-4">
                                <div class="d-flex justify-content-between align-items-center flex-wrap gap-3 mb-20">
                                    <h3>Marketing Expenses</h3>
        
                                    <div class="dropdown select-dropdown without-border ms-1">
                                        <button class="dropdown-toggle bg-transparent text-secondary fs-15" data-bs-toggle="dropdown" aria-expanded="false">
                                            Last Year
                                        </button>
                                    
                                        <ul class="dropdown-menu dropdown-menu-end bg-white border-0 box-shadow rounded-10" data-simplebar>
                                            <li>
                                                <button class="dropdown-item text-secondary">Last Day</button>
                                            </li>
                                            <li>
                                                <button class="dropdown-item text-secondary">Last Week</button>
                                            </li>
                                            <li>
                                                <button class="dropdown-item text-secondary">Last Month</button>
                                            </li>
                                            <li>
                                                <button class="dropdown-item text-secondary">Last Year</button>
                                            </li>
                                        </ul>
                                    </div>
                                </div>
                                
                                <div class="row align-items-center">
                                    <div class="col-lg-7">
                                        <div class="position-relative z-1">
                                            <div id="marketing_expenses_chart" style="height: 416px;"></div>
                                            <span class="fs-28 fw-bold text-secondary position-absolute top-50 start-50 translate-middle">1.1 M</span>
                                        </div>
                                    </div>
                                    <div class="col-lg-5">
                                        <div class="p-3 border-dashed-right border-border-color-50 rounded-10 mb-4" style="border: 1px dashed;">
                                            <h4 class="fs-14 fw-normal text-secondary mb-2">Digital Marketing</h4>
                                            <ul class="ps-0 mb-0 list-unstyled last-child-none">
                                                <li class="d-flex align-items-center mb-1">
                                                    <span class="d-block rounded-pill position-relative top-1" style="width: 24px; height: 6px; background-color: #25AFE0;"></span>
                                                    <span class="ms-2 fw-normal fs-14">Email Marketing <span class="text-secondary">$183K</span></span>
                                                </li>
                                                <li class="d-flex align-items-center mb-1">
                                                    <span class="d-block rounded-pill position-relative top-1" style="width: 24px; height: 6px; background-color: #6FD3F7;"></span>
                                                    <span class="ms-2 fw-normal fs-14">Influencer <span class="text-secondary">$387K</span></span>
                                                </li>
                                                <li class="d-flex align-items-center mb-1">
                                                    <span class="d-block rounded-pill position-relative top-1" style="width: 24px; height: 6px; background-color: #666CFF;"></span>
                                                    <span class="ms-2 fw-normal fs-14">Google Ads <span class="text-secondary">$13K</span></span>
                                                </li>
                                                <li class="d-flex align-items-center mb-1">
                                                    <span class="d-block rounded-pill position-relative top-1" style="width: 24px; height: 6px; background-color: #00E396;"></span>
                                                    <span class="ms-2 fw-normal fs-14">Social Media <span class="text-secondary">$54K</span></span>
                                                </li>
                                                <li class="d-flex align-items-center mb-1">
                                                    <span class="d-block rounded-pill position-relative top-1" style="width: 24px; height: 6px; background-color: #91CC75;"></span>
                                                    <span class="ms-2 fw-normal fs-14">Back Links <span class="text-secondary">$1K</span></span>
                                                </li>
                                                <li class="d-flex align-items-center mb-1">
                                                    <span class="d-block rounded-pill position-relative top-1" style="width: 24px; height: 6px; background-color: #EE6666;"></span>
                                                    <span class="ms-2 fw-normal fs-14">Event Sponsorship <span class="text-secondary">$81.6K</span></span>
                                                </li>
                                                <li class="d-flex align-items-center mb-1">
                                                    <span class="d-block rounded-pill position-relative top-1" style="width: 24px; height: 6px; background-color: #FFBE40;"></span>
                                                    <span class="ms-2 fw-normal fs-14">Ad Campaign <span class="text-secondary">$7.1K</span></span>
                                                </li>
                                            </ul>
                                        </div>
                                        <div class="p-3 border-dashed-right border-border-color-50 rounded-10 mb-4" style="border: 1px dashed;">
                                            <h4 class="fs-14 fw-normal text-secondary mb-2">Offline Marketing</h4>
                                            <ul class="ps-0 mb-0 list-unstyled last-child-none">
                                                <li class="d-flex align-items-center mb-1">
                                                    <span class="d-block rounded-pill position-relative top-1" style="width: 24px; height: 6px; background-color: #EE6666;"></span>
                                                    <span class="ms-2 fw-normal fs-14">Revenue <span class="text-secondary">$91.6K</span></span>
                                                </li>
                                                <li class="d-flex align-items-center mb-1">
                                                    <span class="d-block rounded-pill position-relative top-1" style="width: 24px; height: 6px; background-color: #6FD3F7;"></span>
                                                    <span class="ms-2 fw-normal fs-14">Audit Report <span class="text-secondary">$8.7K</span></span>
                                                </li>
                                            </ul>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-xxl-3 col-xxxl-6">
                            <div class="card bg-white p-20 rounded-10 border border-white mb-4">
                                <div class="d-flex justify-content-between align-items-center flex-wrap gap-3 mb-20">
                                    <h3>Revenue By Division</h3>
        
                                    <div class="dropdown select-dropdown without-border ms-1">
                                        <button class="dropdown-toggle bg-transparent text-secondary fs-15" data-bs-toggle="dropdown" aria-expanded="false">
                                            This Week
                                        </button>
                                    
                                        <ul class="dropdown-menu dropdown-menu-end bg-white border-0 box-shadow rounded-10" data-simplebar>
                                            <li>
                                                <button class="dropdown-item text-secondary">This Day</button>
                                            </li>
                                            <li>
                                                <button class="dropdown-item text-secondary">This Week</button>
                                            </li>
                                            <li>
                                                <button class="dropdown-item text-secondary">This Month</button>
                                            </li>
                                            <li>
                                                <button class="dropdown-item text-secondary">This Year</button>
                                            </li>
                                        </ul>
                                    </div>
                                </div>
                                
                                <div style="margin: 0 0 -8px 0;">
                                    <div id="revenue_by_division_chart"></div>
                                </div>
                            </div>
                        </div>
                        <div class="col-xxl-7 col-xxxl-6">
                            <div class="card bg-white rounded-10 border border-white mb-4">
                                <div class="d-flex justify-content-between align-items-center flex-wrap gap-3 p-20">
                                    <h3>Latest Transaction</h3>
        
                                    <div class="dropdown select-dropdown without-border ms-1">
                                        <button class="dropdown-toggle bg-transparent text-secondary fs-15" data-bs-toggle="dropdown" aria-expanded="false">
                                            Today
                                        </button>
                                    
                                        <ul class="dropdown-menu dropdown-menu-end bg-white border-0 box-shadow rounded-10" data-simplebar>
                                            <li>
                                                <button class="dropdown-item text-secondary">Today</button>
                                            </li>
                                            <li>
                                                <button class="dropdown-item text-secondary">This Week</button>
                                            </li>
                                            <li>
                                                <button class="dropdown-item text-secondary">This Month</button>
                                            </li>
                                            <li>
                                                <button class="dropdown-item text-secondary">This Year</button>
                                            </li>
                                        </ul>
                                    </div>
                                </div>
                                
                                <div class="default-table-area mx-minus-1 style-two table-latest-transaction for-border-color1">
                                    <div class="table-responsive">
                                        <table class="table align-middle">
                                            <thead>
                                                <tr>
                                                    <th scope="col" class="fw-normal text-body-color-40 fs-14">ID</th>
                                                    <th scope="col" class="fw-normal text-body-color-40 fs-14">Client</th>
                                                    <th scope="col" class="fw-normal text-body-color-40 fs-14">Amount</th>
                                                    <th scope="col" class="fw-normal text-body-color-40 fs-14">Payment Method</th>
                                                    <th scope="col" class="fw-normal text-body-color-40 fs-14 text-center">Status</th>
                                                </tr>
                                            </thead>
                                            <tbody>
                                                <tr>
                                                    <td class="text-secondary">#001</td> 
                                                    <td>
                                                        <div class="d-flex align-items-center">
                                                            <div class="flex-shrink-0">
                                                                <img src="assets/images/user41.jpg" class="rounded-circle" style="width: 34px; height: 34px;" alt="user41">
                                                            </div>
                                                            <div class="flex-grow-1 ms-12 position-relative top-2">
                                                                <h3 class="fw-medium mb-0 fs-14 text-secondary-40">Johhna Loren</h3>
                                                                <span class="text-body fs-14">loren123@gmail.com</span>
                                                            </div>
                                                        </div>
                                                    </td> 
                                                    <td class="text-secondary fw-medium fs-14">$6240</td> 
                                                    <td class="text-body">
                                                        <div class="d-flex align-items-center">
                                                            <img src="assets/images/paypal.png" class="position-relative top-1" alt="paypal">
                                                            <span class="text-secondary fs-16 ms-10">Paypal</span>
                                                        </div>
                                                    </td> 
                                                    <td class="text-body text-center">
                                                        <span class="text-success bg-success bg-opacity-10 fs-15 fw-normal d-inline-block default-badge style-two border border-success">Confirmed</span>
                                                    </td> 
                                                </tr>
                                                <tr>
                                                    <td class="text-secondary">#002</td> 
                                                    <td>
                                                        <div class="d-flex align-items-center">
                                                            <div class="flex-shrink-0">
                                                                <img src="assets/images/user42.jpg" class="rounded-circle" style="width: 34px; height: 34px;" alt="user42">
                                                            </div>
                                                            <div class="flex-grow-1 ms-12 position-relative top-2">
                                                                <h3 class="fw-medium mb-0 fs-14 text-secondary-40">Skyler White</h3>
                                                                <span class="text-body fs-14">skyqueen@gmail.com</span>
                                                            </div>
                                                        </div>
                                                    </td> 
                                                    <td class="text-secondary fw-medium fs-14">$5135</td> 
                                                    <td class="text-body">
                                                        <div class="d-flex align-items-center">
                                                            <img src="assets/images/wise.png" class="position-relative top-1" alt="wise">
                                                            <span class="text-secondary fs-16 ms-10">Wise</span>
                                                        </div>
                                                    </td> 
                                                    <td class="text-body text-center">
                                                        <span class="text-primary-50 bg-primary-50 bg-opacity-10 fs-15 fw-normal d-inline-block default-badge style-two border border-primary-50">Pending</span>
                                                    </td> 
                                                </tr>
                                                <tr>
                                                    <td class="text-secondary">#003</td> 
                                                    <td>
                                                        <div class="d-flex align-items-center">
                                                            <div class="flex-shrink-0">
                                                                <img src="assets/images/user43.jpg" class="rounded-circle" style="width: 34px; height: 34px;" alt="user43">
                                                            </div>
                                                            <div class="flex-grow-1 ms-12 position-relative top-2">
                                                                <h3 class="fw-medium mb-0 fs-14 text-secondary-40">Jonathon Watson</h3>
                                                                <span class="text-body fs-14">jona2134@gmail.com</span>
                                                            </div>
                                                        </div>
                                                    </td> 
                                                    <td class="text-secondary fw-medium fs-14">$4321</td> 
                                                    <td class="text-body">
                                                        <div class="d-flex align-items-center">
                                                            <img src="assets/images/bank.png" class="position-relative top-1" alt="bank">
                                                            <span class="text-secondary fs-16 ms-10">Bank</span>
                                                        </div>
                                                    </td> 
                                                    <td class="text-body text-center">
                                                        <span class="text-danger bg-danger bg-opacity-10 fs-15 fw-normal d-inline-block default-badge style-two border border-danger">Canceled</span>
                                                    </td> 
                                                </tr>
                                                <tr>
                                                    <td class="text-secondary">#004</td> 
                                                    <td>
                                                        <div class="d-flex align-items-center">
                                                            <div class="flex-shrink-0">
                                                                <img src="assets/images/user44.jpg" class="rounded-circle" style="width: 34px; height: 34px;" alt="user44">
                                                            </div>
                                                            <div class="flex-grow-1 ms-12 position-relative top-2">
                                                                <h3 class="fw-medium mb-0 fs-14 text-secondary-40">Walter White</h3>
                                                                <span class="text-body fs-14">Puzzleworld</span>
                                                            </div>
                                                        </div>
                                                    </td> 
                                                    <td class="text-secondary fw-medium fs-14">$3124</td> 
                                                    <td class="text-body">
                                                        <div class="d-flex align-items-center">
                                                            <img src="assets/images/skril.png" class="position-relative top-1" alt="skril">
                                                            <span class="text-secondary fs-16 ms-10">Skrill</span>
                                                        </div>
                                                    </td> 
                                                    <td class="text-body text-center">
                                                        <span class="text-success bg-success bg-opacity-10 fs-15 fw-normal d-inline-block default-badge style-two border border-success">Confirmed</span>
                                                    </td> 
                                                </tr>
                                                <tr>
                                                    <td class="text-secondary">#005</td> 
                                                    <td>
                                                        <div class="d-flex align-items-center">
                                                            <div class="flex-shrink-0">
                                                                <img src="assets/images/user45.jpg" class="rounded-circle" style="width: 34px; height: 34px;" alt="user45">
                                                            </div>
                                                            <div class="flex-grow-1 ms-12 position-relative top-2">
                                                                <h3 class="fw-medium mb-0 fs-14 text-secondary-40">David Carlen</h3>
                                                                <span class="text-body fs-14">Liveslong</span>
                                                            </div>
                                                        </div>
                                                    </td> 
                                                    <td class="text-secondary fw-medium fs-14">$2137</td> 
                                                    <td class="text-body">
                                                        <div class="d-flex align-items-center">
                                                            <img src="assets/images/paypal.png" class="position-relative top-1" alt="paypal">
                                                            <span class="text-secondary fs-16 ms-10">Paypal</span>
                                                        </div>
                                                    </td> 
                                                    <td class="text-body text-center">
                                                        <span class="text-primary-50 bg-primary-50 bg-opacity-10 fs-15 fw-normal d-inline-block default-badge style-two border border-primary-50">Pending</span>
                                                    </td> 
                                                </tr>
                                            </tbody>
                                        </table>
                                    </div>
        
                                    <div class="d-flex justify-content-center justify-content-sm-between align-items-center text-center flex-wrap gap-2 showing-wrap p-20" style="padding-top: 12px;">
                                        <span class="fs-15">Showing 1 to 5 of 24 entries</span>
        
                                        <nav class="custom-pagination" aria-label="Page navigation example">
                                            <ul class="pagination mb-0 justify-content-center">
                                                <li class="page-item">
                                                    <button class="page-link icon" aria-label="Previous">
                                                        <i class="material-symbols-outlined">west</i>
                                                    </button>
                                                </li>
                                                <li class="page-item">
                                                    <button class="page-link active">1</button>
                                                </li>
                                                <li class="page-item">
                                                    <button class="page-link">2</button>
                                                </li>
                                                <li class="page-item">
                                                    <button class="page-link">3</button>
                                                </li>
                                                <li class="page-item">
                                                    <button class="page-link icon" aria-label="Next">
                                                        <i class="material-symbols-outlined">east</i>
                                                    </button>
                                                </li>
                                            </ul>
                                        </nav>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-xxl-2 col-xxxl-12">
                            <div class="card bg-white rounded-10 border border-white mb-4 p-20 text-center" style="border-radius: 10px; background: linear-gradient(180deg, #526786 0%, #273F60 100%); line-height: 32px;">
                                <h3 class="fs-24 text-white fw-normal"><span class="fw-bold">Upgrade Plan</span> For Better Financial Forecast</h3>
                                <div class="py-3">
                                    <img src="assets/images/upgrade.png" alt="upgrade">
                                </div>
                                <p class="fs-16 lh-1-8 mb-4" style="color: #CCE1FF;">You can back to your previous plan anytime.</p>
                                <div class="">
                                    <a href="pricing.html" class="btn btn-primary text-white fs-14 fw-medium" style="padding: 9px 20px;">
                                        Upgrade Now
                                    </a>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-lg-6">
                            <div class="card bg-white rounded-10 border border-white mb-4">
                                <div class="d-flex justify-content-between align-items-center flex-wrap gap-3 p-20">
                                    <h3>Audit Report</h3>
        
                                    <div class="dropdown select-dropdown without-border ms-1">
                                        <button class="dropdown-toggle bg-transparent text-secondary fs-15" data-bs-toggle="dropdown" aria-expanded="false">
                                            This Month
                                        </button>
                                    
                                        <ul class="dropdown-menu dropdown-menu-end bg-white border-0 box-shadow rounded-10" data-simplebar>
                                            <li>
                                                <button class="dropdown-item text-secondary">This Month</button>
                                            </li>
                                            <li>
                                                <button class="dropdown-item text-secondary">This Week</button>
                                            </li>
                                            <li>
                                                <button class="dropdown-item text-secondary">This Month</button>
                                            </li>
                                            <li>
                                                <button class="dropdown-item text-secondary">This Year</button>
                                            </li>
                                        </ul>
                                    </div>
                                </div>
                                
                                <div class="default-table-area mx-minus-1 style-two table-audit-report for-border-color1">
                                    <div class="table-responsive">
                                        <table class="table align-middle">
                                            <thead>
                                                <tr>
                                                    <th scope="col" class="fw-normal text-body-color-40 fs-14">Audit Name</th>
                                                    <th scope="col" class="fw-normal text-body-color-40 fs-14">Date</th>
                                                    <th scope="col" class="fw-normal text-body-color-40 fs-14">Score</th>
                                                    <th scope="col" class="fw-normal text-body-color-40 fs-14 text-center">Status</th>
                                                </tr>
                                            </thead>
                                            <tbody>
                                                <tr>
                                                    <td class="text-secondary fw-medium fs-16">Weekly Site Inspection</td> 
                                                    <td class="text-secondary fw-medium fs-14">03 Sep, 24</td> 
                                                    <td class="text-secondary fw-medium fs-14">05%</td> 
                                                    <td class="text-body text-center">
                                                        <span class="text-primary-50 bg-primary-50 bg-opacity-10 fs-15 fw-normal d-inline-block default-badge style-two border border-primary-50">In Progress</span>
                                                    </td> 
                                                </tr>
                                                <tr>
                                                    <td class="text-secondary fw-medium fs-16">Monthly Product Inspection</td> 
                                                    <td class="text-secondary fw-medium fs-14">04 Sep, 24</td> 
                                                    <td class="text-secondary fw-medium fs-14">62.9%</td> 
                                                    <td class="text-body text-center">
                                                        <span class="text-success bg-success bg-opacity-10 fs-15 fw-normal d-inline-block default-badge style-two border border-success">Completed</span>
                                                    </td> 
                                                </tr>
                                                <tr>
                                                    <td class="text-secondary fw-medium fs-16">Risk Factor Inspection</td> 
                                                    <td class="text-secondary fw-medium fs-14">05 Sep, 24</td> 
                                                    <td class="text-secondary fw-medium fs-14">51.9%</td> 
                                                    <td class="text-body text-center">
                                                        <span class="text-danger bg-danger bg-opacity-10 fs-15 fw-normal d-inline-block default-badge style-two border border-danger">Canceled</span>
                                                    </td> 
                                                </tr>
                                                <tr>
                                                    <td class="text-secondary fw-medium fs-16">Profit Analysis</td> 
                                                    <td class="text-secondary fw-medium fs-14">06 Sep, 24</td> 
                                                    <td class="text-secondary fw-medium fs-14">20%</td> 
                                                    <td class="text-body text-center">
                                                        <span class="text-primary-50 bg-primary-50 bg-opacity-10 fs-15 fw-normal d-inline-block default-badge style-two border border-primary-50">In Progress</span>
                                                    </td> 
                                                </tr>
                                                <tr>
                                                    <td class="text-secondary fw-medium fs-16">Next Year Forecast Analysis</td> 
                                                    <td class="text-secondary fw-medium fs-14">07 Sep, 24</td> 
                                                    <td class="text-secondary fw-medium fs-14">70.58%</td> 
                                                    <td class="text-body text-center">
                                                        <span class="text-success bg-success bg-opacity-10 fs-15 fw-normal d-inline-block default-badge style-two border border-success">Completed</span>
                                                    </td> 
                                                </tr>
                                            </tbody>
                                        </table>
                                    </div>
        
                                    <div class="d-flex justify-content-center justify-content-sm-between align-items-center text-center flex-wrap gap-2 showing-wrap p-20" style="padding-top: 12px;">
                                        <span class="fs-15">Showing 1 to 5 of 24 entries</span>
        
                                        <nav class="custom-pagination" aria-label="Page navigation example">
                                            <ul class="pagination mb-0 justify-content-center">
                                                <li class="page-item">
                                                    <button class="page-link icon" aria-label="Previous">
                                                        <i class="material-symbols-outlined">west</i>
                                                    </button>
                                                </li>
                                                <li class="page-item">
                                                    <button class="page-link active">1</button>
                                                </li>
                                                <li class="page-item">
                                                    <button class="page-link">2</button>
                                                </li>
                                                <li class="page-item">
                                                    <button class="page-link">3</button>
                                                </li>
                                                <li class="page-item">
                                                    <button class="page-link icon" aria-label="Next">
                                                        <i class="material-symbols-outlined">east</i>
                                                    </button>
                                                </li>
                                            </ul>
                                        </nav>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-lg-6">
                            <div class="card bg-white p-20 rounded-10 border border-white mb-4">
                                <div class="d-flex justify-content-between align-items-center flex-wrap gap-3 mb-20">
                                    <h3>Total Receivables vs Total Payable</h3>
        
                                    <div class="dropdown select-dropdown without-border ms-1">
                                        <button class="dropdown-toggle bg-transparent text-secondary fs-15" data-bs-toggle="dropdown" aria-expanded="false">
                                            This Week
                                        </button>
                                    
                                        <ul class="dropdown-menu dropdown-menu-end bg-white border-0 box-shadow rounded-10" data-simplebar>
                                            <li>
                                                <button class="dropdown-item text-secondary">This Day</button>
                                            </li>
                                            <li>
                                                <button class="dropdown-item text-secondary">This Week</button>
                                            </li>
                                            <li>
                                                <button class="dropdown-item text-secondary">This Month</button>
                                            </li>
                                            <li>
                                                <button class="dropdown-item text-secondary">This Year</button>
                                            </li>
                                        </ul>
                                    </div>
                                </div>
                                
                                <div style="margin: -24px -9px -14px -15px;">
                                    <div id="total_receivables_vs_total_payable_chart"></div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="flex-grow-1"></div>

                <?php require __DIR__ . '/includes/footer.php'; ?>

            </div>
        </div>
        <!-- Start Main Content Area -->

        <!-- Start Theme Setting Area -->
        <button class="btn btn-primary theme-settings-btn p-0 position-fixed z-2 text-center rounded-circle" style="bottom: 24px; right: 24px; width: 56px; height: 56px; line-height: 54px;" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvasScrolling" aria-controls="offcanvasScrolling">
            <i class="text-white ri-settings-3-fill fs-28" data-bs-toggle="tooltip" data-bs-placement="left" data-bs-title="Click On Theme Settings"></i>
        </button>

        <!-- Start Theme Setting Area -->
        <div class="offcanvas offcanvas-end bg-white border-0" data-bs-scroll="true" data-bs-backdrop="true" tabindex="-1" id="offcanvasScrolling" aria-labelledby="offcanvasScrollingLabel" style="box-shadow: 0 4px 20px #2f8fe812 !important; max-width: 300px;">
            <div class="offcanvas-header bg-light p-20">
                <h5 class="offcanvas-title fs-18 fw-medium" id="offcanvasScrollingLabel">Configuration Panel</h5>
                <button type="button" class="btn-close" data-bs-dismiss="offcanvas" aria-label="Close"></button>
            </div>
            <div class="offcanvas-body p-0 overflow-hidden">
                <div class="last-child-none" style="max-height: 858px;" data-simplebar>
                    <div class="p-20 border-bottom child">
                        <h4 class="fs-15 fw-medium mb-12">RTL Mode</h4>
                        <div class="rtl-btn">
                            <label id="switch">
                                <input type="checkbox" onchange="toggleTheme()" class="toggle-switch rtl-switch" id="slider">
                            </label>
                        </div>
                    </div>
                    <div class="p-20 border-bottom child">
                        <h4 class="fs-15 fw-medium mb-12">Only Sidebar Dark</h4>
                        <div class="sidebar-light-dark" id="sidebar-light-dark">
                            <input type="checkbox" class="toggle-switch sidebar-dark-switch">
                        </div>
                    </div>
                    <div class="p-20 border-bottom child">
                        <h4 class="fs-15 fw-medium mb-12">Only Header Dark</h4>
                        <div class="header-light-dark" id="header-light-dark">
                            <input type="checkbox" class="toggle-switch header-dark-switch">
                        </div>
                    </div>
                    <div class="p-20 border-bottom child">
                        <h4 class="fs-15 fw-medium mb-12">Right Sidebar</h4>
                        <div class="right-sidebar" id="right-sidebar">
                            <input type="checkbox" class="toggle-switch right-sidebar-switch">
                        </div>
                    </div>
                    <div class="p-20 border-bottom child">
                        <h4 class="fs-15 fw-medium mb-12">Hide Sidebar</h4>
                        <div class="icon-sidebar" id="icon-sidebar">
                            <input type="checkbox" class="toggle-switch icon-sidebar-switch">
                        </div>
                    </div>
                    <div class="p-20 border-bottom child">
                        <h4 class="fs-15 fw-medium mb-12">Bordered Card</h4>
                        <div class="card-border" id="card-border">
                            <input type="checkbox" class="toggle-switch border-switch">
                        </div>
                    </div>
                    <div class="p-20 border-bottom child">
                        <h4 class="fs-15 fw-medium mb-12">Card Border Radius</h4>
                        <div class="card-radius-square" id="card-radius-square">
                            <input type="checkbox" class="toggle-switch border-radius-switch">
                        </div>
                    </div>
                    
                    <div class="p-20 border-bottom child">
                        <a href="#" class="btn btn-primary text-white">
                            Buy Fila
                        </a>
                    </div>
                </div>
            </div>
        </div>
        <!-- End Theme Setting Area -->
     
        <!-- Link Of JS File -->
        <script src="assets/js/bootstrap.bundle.min.js"></script>
        <script src="assets/js/sidebar-menu.js"></script>
        <script src="assets/js/quill.min.js"></script>
        <script src="assets/js/data-table.js"></script>
        <script src="assets/js/prism.js"></script>
        <script src="assets/js/clipboard.min.js"></script>
        <script src="assets/js/simplebar.min.js"></script>
        <script src="assets/js/apexcharts.min.js"></script>
        <script src="assets/js/echarts.min.js"></script>
        <script src="assets/js/swiper-bundle.min.js"></script>
        <script src="assets/js/fullcalendar.main.js"></script>
        <script src="assets/js/jsvectormap.min.js"></script>
        <script src="assets/js/world-merc.js"></script>
        <script src="assets/js/custom/apexcharts.js"></script>
        <script src="assets/js/custom/echarts.js"></script>
        <script src="assets/js/custom/maps.js"></script>
        <script src="assets/js/custom/custom.js"></script>
    </body>
</html>