<!-- Table with stripped rows -->
<table class="table table-hover" id="tabelkeranjang">
<thead>
<tr>
    <th scope="col">Tanggal</th>
    <th scope="col">Nama Pegawai</th>
    <th scope="col">Jumlah Item Barang</th>
    <th scope="col">Jumlah Penjualan</th>
    <th scope="col">Total Pendapatan</th>
</tr>
</thead>
<tbody>
<?php
foreach ($arrpegawai as $key => $value) {
    foreach ($value as $keyup => $val) {
        $harga=@array_sum($arrjualrinci[$key][$keyup]['harga']);
        ?>
        <tr>
            <td><?php echo $key ?></td>
            <td><?php echo $val ?></td>
            <td><?php echo @array_sum($arrjualrinci[$key][$keyup]['jumbarang']) ?></td>
            <td><?php echo @array_sum($arrjualrinci[$key][$keyup]['jumjual']) ?></td>
            <td><?php echo number_format($harga,0,',','.') ?></td>
        </tr>
        <?php
    }
}
?>
</tbody>
</table>
<!-- End Table with stripped rows -->