Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @extends('layouts.main')
- @section('title')
- CRUD Produk
- @endsection
- @section('content')
- <table class="table table-dark" border="1">
- <thead>
- <tr>
- <td>No. </td>
- <th>Nama</th>
- <th>Gambar</th>
- <th>Harga</th>
- <th>Harna</th>
- <th>Stock</th>
- <th>Deskripsi</th>
- <th>Info</th>
- <th>Ukuran_id</th>
- <th>Kategori_id</th>
- </tr>
- </thead>
- <tbody>
- @foreach($produks as $produk)
- <tr>
- <th>No</th>
- <th>{{$produk['nama']}}</th>
- <th>{{$produk['gambar']}}</th>
- <th>{{$produk['harga']}}</th>
- <th>{{$produk['stock']}}</th>
- <th>{{$produk['deskripsi']}}</th>
- <th>{{$produk['info']}}</th>
- <th>{{$produk['ukuran_id']}}</th>
- <th>{{$produk['kategori_id']}}</th>
- </tr>
- @endforeach
- </tbody>
- </table>
- @endsection
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement