<tr> <th>No</th> <th>ID</th> <th>Kode Barang</th> <th>Nama Barang</th> <th>Jenis Barang</th> <th>Kadaluarsa</th> <th>Harga Satuan</th> <th>Stock</th> <th>Action</th> </tr> </thead> <tbody> <?php $i = 1; foreach ($dataBarangModel->findDataBarang() as $key => $value) { ?> <tr> <td><?php echo $i; ?> </td> <td><?php echo $value['ID']; ?> </td> <td><?php echo $value['Kode_Barang']; ?> </td> <td><?php