
<?php $__env->startSection('title','Data Barang'); ?>
<?php $__env->startSection('page','Data Barang'); ?>

<?php $__env->startSection('content'); ?>

<a href="#" class="btn btn-primary mb-3">Tambah Barang</a>

<table class="table table-bordered">
    <thead>
        <tr>
            <th>Nama</th>
            <th>Kategori</th>
            <th>Harga</th>
        </tr>
    </thead>
    <tbody>
        <?php $__currentLoopData = $barang; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $b): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <tr>
            <td><?php echo e($b->nama); ?></td>
            <td><?php echo e($b->kategori); ?></td>
            <td>Rp <?php echo e(number_format($b->harga)); ?></td>
        </tr>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </tbody>
</table>

<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\Users\dinda\tamim-malsaly\resources\views/barang/index.blade.php ENDPATH**/ ?>