@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 (Session::get('STOCK_ENTITE'))

@endif
id_commande != 0) value="{{$bonLivraison->commandeClient->numCommande}}" @endif readonly>
id_commande != 0) value ="{{$bonLivraison->commandeClient->Client->raisonSociale}}" @else @if ($bonLivraison->preparation->Client != null) value ="{{$bonLivraison->preparation->Client->raisonSociale}}" @endif @endif required readonly >
id_commande != 0) value ="{{$bonLivraison->commandeClient->Client->adresseClient}}" @else @if ($bonLivraison->preparation->Client != null) value ="{{$bonLivraison->preparation->Client->adresseClient}}" @endif @endif required readonly >
preparation->idTransporteur != NULL) value ="{{$bonLivraison->preparation->Transporteur->nomTransporteur}} {{$bonLivraison->preparation->Transporteur->prenomTransporteur}}" @endif required readonly > preparation->idTransporteur != NULL) value ="{{$bonLivraison->preparation->Transporteur->telephoneTransporteur}}" @endif required readonly > preparation->idTransporteur != NULL) value ="{{$bonLivraison->preparation->Transporteur->numTransporteur}}" @endif required readonly >


@if (Session::get('STOCK_ENTITE') == '1' || Session::get('TYPE_STOCK_EMPLACEMENT_MOBILE') == '1') @endif @if (Session::get('COMPOSE_PACK')=='1') @endif @if (Session::get('NUMERO_SERIE')) @endif @if (Session::get('STOCK_ENTITE') != "1" || Session::get('TYPE_STOCK_EMPLACEMENT_MOBILE') != "1" ) @endif @foreach( $ligneBonLivraison as $ligne) @if (Session::get('NUMERO_SERIE') == '1') @if ($ligne->ligneProduit->NumeroSerie != null && $ligne->ligneProduit->NumeroSerie != '' && $ligne->ligneProduit->NumeroSerie->isEmpty() == false) @foreach ($ligne->ligneProduit->NumeroSerie as $element) @if (Session::get('STOCK_ENTITE') == '1' || Session::get('TYPE_STOCK_EMPLACEMENT_MOBILE') == '1') @endif @if (Session::get('COMPOSE_PACK')=='1') @endif @if (Session::get('NUMERO_SERIE')) @endif @if (Session::get('STOCK_ENTITE') != "1" || Session::get('TYPE_STOCK_EMPLACEMENT_MOBILE') != "1" ) @endif @endforeach @else @if (Session::get('STOCK_ENTITE') == '1' || Session::get('TYPE_STOCK_EMPLACEMENT_MOBILE') == '1') @endif @if (Session::get('COMPOSE_PACK')=='1') @endif @if (Session::get('NUMERO_SERIE')) @endif @if (Session::get('STOCK_ENTITE') != "1" || Session::get('TYPE_STOCK_EMPLACEMENT_MOBILE') != "1" ) @endif @endif @else @if (Session::get('STOCK_ENTITE') == '1' || Session::get('TYPE_STOCK_EMPLACEMENT_MOBILE') == '1') @endif @if (Session::get('COMPOSE_PACK')=='1') @endif @if (Session::get('NUMERO_SERIE')) @endif @if (Session::get('STOCK_ENTITE') != "1" || Session::get('TYPE_STOCK_EMPLACEMENT_MOBILE') != "1" ) @endif @endif @endforeach
N°Document N°UERéférence Désignation Code produit Emp QteProduit
composé pack
Désignation
(Produit
composé pack)
Qte
(Produit composé pack)
N° de sérieObservation
@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!!} 1{{ $ligne->produit->compose_pack }} @if ($produitComposeCollect->get($ligne->id_bl_produit) != null )
    @foreach ($produitComposeCollect->get($ligne->id_bl_produit) as $produit)
  • {{ $produit->produitEnfant->designation }}

  • @endforeach
@endif
@if ($produitComposeCollect->get($ligne->id_bl_produit) != null )
    @foreach ($produitComposeCollect->get($ligne->id_bl_produit) as $produit)
  • {{ (float) $produit->quantite }}


  • @endforeach
@endif
{{ $element->num_serie}}
@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 ($produitComposeCollect->get($ligne->id_bl_produit) != null )
    @foreach ($produitComposeCollect->get($ligne->id_bl_produit) as $produit)
  • {{ $produit->produitEnfant->designation }}

  • @endforeach
@endif
@if ($produitComposeCollect->get($ligne->id_bl_produit) != null )
    @foreach ($produitComposeCollect->get($ligne->id_bl_produit) as $produit)
  • {{ (float) $produit->quantite }}


  • @endforeach
@endif
@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 ($produitComposeCollect->get($ligne->id_bl_produit) != null )
    @foreach ($produitComposeCollect->get($ligne->id_bl_produit) as $produit)
  • {{ $produit->produitEnfant->designation }}

  • @endforeach
@endif
@if ($produitComposeCollect->get($ligne->id_bl_produit) != null )
    @foreach ($produitComposeCollect->get($ligne->id_bl_produit) as $produit)
  • {{ (float) $produit->quantite }}


  • @endforeach
@endif
DESTINATION
RAISON SOCIALE {{$bonLivraison->preparation->Client->raisonSociale}}
ADRESSE CLIENT {{$bonLivraison->preparation->Client->adresseClient}}
Signature rail-logistic Signature transporteur Signature client
nom & prenom nom & prenom
SIGNATURE
MAGASIN RAIL-LOGISTIC : {{ $prefixe }} RECEPTIONNAIRE
NOM & PRENOM : NOM & PRENOM :
MOB : MOB :
MAT: MAT:
SIGNATURE : SIGNATURE :
DATE DE RECEPTION :
TRANSPORTEUR
N° Transporteur @if($bonLivraison->preparation->idTransporteur != NULL) {{$bonLivraison->preparation->Transporteur->numTransporteur}} @endif
Nom et prénom @if($bonLivraison->preparation->idTransporteur != NULL) {{$bonLivraison->preparation->Transporteur->nomTransporteur}} {{$bonLivraison->preparation->Transporteur->prenomTransporteur}} @endif
Nom et prénom (Chauffeur)
imm
Téléphone @if($bonLivraison->preparation->idTransporteur != NULL) {{$bonLivraison->preparation->Transporteur->telephoneTransporteur}} @endif
@if(Session::get('COMPOSE_PACK'))
@endif
{!! Form::close() !!}
@endsection