<!DOCTYPE html>

<html lang="en">
<head>
        <?php echo view('partials/title-meta', array('title' => 'Product Stocks')) ?> <?= $this->include('partials/head-css') ?>
    </head>
<body>
<div class="wrapper">
            <?php echo view('partials/topbar', array('subtitle' => 'Ecommerce', 'title' => 'Sales Reports')) ?> <?= $this->include('partials/sidenav') ?>

            <!-- Start Page Content here -->
<div class="page-content">
<main>
                    <?php echo view('partials/page-title', array('subtitle' => 'Ecommerce', 'title' => 'Sales Reports')) ?>

                    <div class="container">
<div class="card" data-table="" data-table-rows-per-page="8">
<div class="card-header flex items-center justify-between">
<h5 class="card-title">Products - 2025</h5>
<div class="flex gap-2.5">
<div class="input-icon-group">
<i class="iconify tabler--search input-icon"></i>
<input class="form-input" data-table-search="" placeholder="Search reports..." type="search"/>
</div>
<div class="input-icon-group">
<i class="iconify tabler--calendar input-icon"></i>
<input class="form-input" id="dateRangePicker" type="date"/>
</div>
<button class="btn bg-secondary text-white hover:bg-secondary-hover" type="submit"><i class="iconify tabler--download"></i> Export Report</button>
</div>
</div>
<div class="card-body">
<!-- Chart Container -->
<div id="salesMixChart"></div>
</div>
<div class="table-wrapper">
<table class="table table-hover">
<thead class="thead-sm">
<tr class="bg-light/25 text-2xs uppercase">
<th class="w-[1%]">
<input class="form-checkbox form-checkbox-light size-4.5" data-table-select-all="" id="select-all-products" type="checkbox"/>
</th>
<th data-table-sort="">Date</th>
<th data-table-sort="">Order</th>
<th data-table-sort="">Refunds</th>
<th data-table-sort="">Avr. Revenue per Order</th>
<th data-table-sort="">Tax</th>
<th data-table-sort="">Revenue</th>
<th data-table-sort="">Balance</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<input class="form-checkbox form-checkbox-light size-4.5" type="checkbox"/>
</td>
<td>10 July, 2025</td>
<td>68</td>
<td>4</td>
<td>$18.60</td>
<td>$25.78</td>
<td>$612.70</td>
<td>$6625.46</td>
</tr>
<tr>
<td>
<input class="form-checkbox form-checkbox-light size-4.5" type="checkbox"/>
</td>
<td>09 July, 2025</td>
<td>85</td>
<td>1</td>
<td>$22.10</td>
<td>$31.85</td>
<td>$786.35</td>
<td>$6012.76</td>
</tr>
<tr>
<td>
<input class="form-checkbox form-checkbox-light size-4.5" type="checkbox"/>
</td>
<td>08 July, 2025</td>
<td>61</td>
<td>3</td>
<td>$17.40</td>
<td>$23.67</td>
<td>$531.10</td>
<td>$5226.41</td>
</tr>
<tr>
<td>
<input class="form-checkbox form-checkbox-light size-4.5" type="checkbox"/>
</td>
<td>07 July, 2025</td>
<td>79</td>
<td>2</td>
<td>$20.65</td>
<td>$29.45</td>
<td>$726.80</td>
<td>$4695.31</td>
</tr>
<tr>
<td>
<input class="form-checkbox form-checkbox-light size-4.5" type="checkbox"/>
</td>
<td>06 July, 2025</td>
<td>53</td>
<td>6</td>
<td>$15.10</td>
<td>$20.89</td>
<td>$400.55</td>
<td>$3968.51</td>
</tr>
<tr>
<td>
<input class="form-checkbox form-checkbox-light size-4.5" type="checkbox"/>
</td>
<td>05 July, 2025</td>
<td>91</td>
<td>4</td>
<td>$22.50</td>
<td>$32.90</td>
<td>$851.30</td>
<td>$3567.96</td>
</tr>
<tr>
<td>
<input class="form-checkbox form-checkbox-light size-4.5" type="checkbox"/>
</td>
<td>04 July, 2025</td>
<td>47</td>
<td>5</td>
<td>$16.25</td>
<td>$22.05</td>
<td>$382.47</td>
<td>$2716.66</td>
</tr>
<tr>
<td>
<input class="form-checkbox form-checkbox-light size-4.5" type="checkbox"/>
</td>
<td>03 July, 2025</td>
<td>82</td>
<td>1</td>
<td>$21.03</td>
<td>$31.11</td>
<td>$792.65</td>
<td>$2334.19</td>
</tr>
<tr>
<td>
<input class="form-checkbox form-checkbox-light size-4.5" type="checkbox"/>
</td>
<td>02 July, 2025</td>
<td>65</td>
<td>3</td>
<td>$17.92</td>
<td>$24.15</td>
<td>$583.42</td>
<td>$1541.54</td>
</tr>
<tr>
<td>
<input class="form-checkbox form-checkbox-light size-4.5" type="checkbox"/>
</td>
<td>01 July, 2025</td>
<td>73</td>
<td>2</td>
<td>$19.85</td>
<td>$27.34</td>
<td>$660.12</td>
<td>$958.12</td>
</tr>
</tbody>
</table>
</div>
<div class="card-footer">
<div data-table-pagination-info=""></div>
<div data-table-pagination=""></div>
</div>
</div>
</div>
</main>

                <?= $this->include('partials/footer') ?>
            </div>
<!-- End Page content -->
</div>

        <?= $this->include('partials/customizer') ?> <?= $this->include('partials/footer-scripts') ?>

        <!-- Apex Charts js -->
<script src="/plugins/apexcharts/apexcharts.min.js"></script>
<!-- Custom table -->
<script src="/js/pages/custom-table.js"></script>
<!-- Page only -->
<script src="/js/pages/ecommerce-sales.js"></script>
</body>
</html>