@extends('layouts.appadmin')

@section('content')
  <!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <div class="content-header">
      <div class="container-fluid">
        <div class="row mb-2">
          <div class="col-sm-6">
            <h1 class="m-0 text-dark">{{$produit->nom}} disponible</h1>
          </div><!-- /.col -->
          <div class="col-sm-6">
            <ol class="breadcrumb float-sm-right">
              <li class="breadcrumb-item"><a href="#">Home</a></li>
              <li class="breadcrumb-item active">Starter Page</li>
            </ol>
          </div><!-- /.col -->
        </div><!-- /.row -->
      </div><!-- /.container-fluid -->
    </div>
    <!-- /.content-header -->

    <!-- Main content -->
    <div class="content">
      <div class="container-fluid">
        <div class="row">
          <div class="col-lg-12">
            <div class="card">
              <div class="card-body">


              <table id="example1" class="table table-bordered table-striped">
                <thead>
                <tr >
                  <th>Ref</th>
                  <th >Designation</th>
                  <th>categorie</th>
                  <th>prix unitair</th>
                  <th>stock</th>
                  <th>date</th>
                  <th>action</th>
                </tr>
                </thead>
                <tbody>
          
                  <tr>
             <td>{{$produit->id}}</td>
             <td> {{$produit->nom}}</a>  </td>
             <td>{{$produit->categorie_id}}</td>
             <td>{{$produit->prixun}}</td>
             <td>{{$produit->stock}}</td>
             <td>{{$produit->datemajoration}}</td>
             <td>action</td>
              </tr>
         
          </tbody>
        </table>



                </div>  </div>
    </div>
  
  </div>

                </section>
    </div>
    <!-- /.content -->
  </div>
  <!-- /.content-wrapper -->
  
        @endsection