@extends('app') @section('content')

Détail bon de livraison

@if(Session::has('msgAdd'))
{!! session('msgAdd') !!}
@endif @if(Session::has('msgExist'))
{!! session('msgExist') !!}
@endif
{!! Form::open(['method'=>'POST','id' => 'formulaire','action' => ['BonLivraisonController@show',$bonLivraison->id_bon_livraison]]) !!}
@if ($bonLivraison->statut == 1)
Annuler
@endif
@if (Session::get('STOCK_ENTITE') == "0" && Session::get('TYPE_STOCK_EMPLACEMENT_MOBILE') == "0")
id_commande != 0) value="{{$bonLivraison->commandeClient->numCommande}}" @endif readonly>
@endif
id_commande !=0) value="{{$bonLivraison->commandeClient->numCommande}}" @endif required readonly>
preparation->Client != null) value ="{{$bonLivraison->preparation->Client->raisonSociale}}" @endif required readonly >
preparation->Client != null) value ="{{$bonLivraison->preparation->Client->adresseClient}}" @endif required readonly >
preparation->Client != null) @if ($bonLivraison->preparation->Client->region == 0 ||$bonLivraison->preparation->Client->region == null ) value ="" @else value ="{{$bonLivraison->preparation->Client->willaya->nom_wilaya}}" @endif @endif readonly >
@if (Session::get('STOCK_ENTITE'))

@endif
@if (Session::get('STOCK_ENTITE') == '1' || Session::get('TYPE_STOCK_EMPLACEMENT_MOBILE') == '1') @endif @if (Session::get('NUMERO_SERIE')) @endif @if (Session::get('COMPOSE_PACK')=='1') @endif @foreach( $ligneBonLivraison as $ligne) @if (Session::get('STOCK_ENTITE') == '1' || Session::get('TYPE_STOCK_EMPLACEMENT_MOBILE') == '1') @endif @if (Session::get('NUMERO_SERIE')) @endif @if (Session::get('COMPOSE_PACK')=='1') @endif @endforeach
N°Document N°UERéférence produit Désignation Code produit Emplacement QuantitéN° de sérieProduit composé Détail
@if ($ligne->ligneProduit) @if ($ligne->ligneProduit->StockProduit) @if (!$ligne->ligneProduit->StockProduit->ligneBonReceptionUe->isEmpty()) @if ($ligne->ligneProduit->StockProduit->ligneBonReceptionUe[0]->ligneBonReception) @if ($ligne->ligneProduit->StockProduit->ligneBonReceptionUe[0]->ligneBonReception->bonReception) {!!$ligne->ligneProduit->StockProduit->ligneBonReceptionUe[0]->ligneBonReception->bonReception->num_document!!} @endif @endif @endif @endif @endif {!!$ligne->ligneProduit->stockProduit->num_ue!!}{!!$ligne->produit->reference!!} {!!$ligne->produit->designation!!} {!!$ligne->produit->code_identification!!} {!!$ligne->ligneProduit->StockProduit->Emplacement->libelle!!} {!! (float) $ligne->qnt!!} {{$ligne->produit->compose_pack}}
@if(Session::get('COMPOSE_PACK'))
@endif
{!! Form::close() !!}
@endsection