<div class="table-responsive">
    <table class="table table-bordered table-striped">
        <thead class="bg-primary text-white">
            <tr>
                <th>Tanggal / Hari</th>
                <th>Nama Barang</th>
                <th>Stok Awal</th>
                <th>Masuk</th>
                <th>Keluar</th>
                <th>Stok Akhir</th>
            </tr>
        </thead>
        <tbody>
            @if(isset($data) && $data == 'c1')
                <!-- Date Group 1 -->
                <tr class="bg-light font-weight-bold">
                    <td colspan="6">Senin, 01 September 2025</td>
                </tr>
                <tr>
                    <td></td>
                    <td>Biji Kopi</td>
                    <td>10 Kg</td>
                    <td>5 Kg</td>
                    <td>2 Kg</td>
                    <td>13 Kg</td>
                </tr>
                <tr>
                    <td></td>
                    <td>Mie Indomie</td>
                    <td>20 Bungkus</td>
                    <td>10 Bungkus</td>
                    <td>5 Bungkus</td>
                    <td>25 Bungkus</td>
                </tr>
                <!-- Date Group 2 -->
                <tr class="bg-light font-weight-bold">
                    <td colspan="6">Selasa, 02 September 2025</td>
                </tr>
                <tr>
                    <td></td>
                    <td>Biji Kopi</td>
                    <td>13 Kg</td>
                    <td>0 Kg</td>
                    <td>3 Kg</td>
                    <td>10 Kg</td>
                </tr>

            @elseif(isset($data) && $data == 'c2')
                <tr class="bg-light font-weight-bold">
                    <td colspan="6">Senin, 01 September 2025</td>
                </tr>
                <tr>
                    <td></td>
                    <td>Biji Kopi</td>
                    <td>10 Kg</td>
                    <td>5 Kg</td>
                    <td>2 Kg</td>
                    <td>13 Kg</td>
                </tr>

            @else
                <tr class="bg-light font-weight-bold">
                    <td colspan="6">Senin, 01 September 2025</td>
                </tr>
                 <tr>
                    <td></td>
                    <td>Biji Kopi</td>
                    <td>10 Kg</td>
                    <td>5 Kg</td>
                    <td>2 Kg</td>
                    <td>13 Kg</td>
                </tr>
            @endif
        </tbody>
    </table>
</div>
