<h1>Data Customer</h1>

<a href="/customer/tambah">
    Tambah Customer
</a>

<br><br>

<table border="1">
    <tr>
        <th>Kode</th>
        <th>Nama</th>
        <th>No HP</th>
        <th>Aksi</th>
    </tr>

    <?php $__currentLoopData = $customer; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $c): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
    <tr>
        <td><?php echo e($c->kode_customer); ?></td>
        <td><?php echo e($c->nama_customer); ?></td>
        <td><?php echo e($c->no_hp); ?></td>

        <td>
            <a href="/customer/edit/<?php echo e($c->id); ?>">
                Edit
            </a>

            |

            <a href="/customer/hapus/<?php echo e($c->id); ?>">
                Hapus
            </a>
        </td>
    </tr>
    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</table><?php /**PATH C:\laragon\www\motor57\resources\views/customer.blade.php ENDPATH**/ ?>