@extends('layout')
@section('title','Détails livraison ')
@section('content')
<br/>
		  <div class="section-body">
            <div class="row">
              <div class="col-12">
                <div class="card">
                  <div class="card-header">
                    <h4>Détails</h4>
                  </div>
                  <div class="card-body">
                    <div class="table-responsive">
                      <table class="table table-striped" id="table-1">
                        <thead>
                          <tr>
                            <th class="text-center"> N° </th>
                            <th class="text-center">Désignation</th>
                            <th class="text-center">Quantité</th>
							 <th class="text-center">Reste</th>
                   
                          </tr>
                        </thead>
                        <tbody>
	@foreach($detail as $details)
	<tr>
		<td>
        {{$loop->iteration}}
        </td>
        <td>
        {{ DB::table('produit_vendable')->where('id', $details->produit_id)->first()->desi }}/
        {{ DB::table('produit_vendable')->where('id', $details->produit_id)->first()->code }}
        </td>
        <td style="text-align:center;font-size:14px;">
           {{$details->qte}}
		</td>
		<td style="text-align:center;font-size:14px;">
           {{$details->reste}}
		</td>
    </tr>
	@endforeach
    </tbody>
                      </table>
                    </div>
                  </div>
                </div>
              </div>
			  
            </div>
           
           
          </div>
		  
		 </div>
       
          </div>

@endsection