@extends('app') @section('content')
@if(Session::get('CLIENT_PREPARATION_AJOUTER'))
Ajouter
@endif @if ( Session::get('STOCK_ENTITE')=="1" || Session::get('STOCK_EMPLACEMENT_MOBILE')=="1")
@if(Session::get('CLIENT_PREPARATION_IMPORTER')) Importer @endif
@endif

Liste des préparations

@if($errors->any())
{!! $errors->first() !!}
@endif @if(Session::has('msgDelete'))
{!! session('msgDelete') !!}
@endif @if(Session::has('msgSupprimer'))
{!! session('msgSupprimer') !!}
@endif @if(Session::has('msgExist'))
{!! session('msgExist') !!}
@endif @if(Session::has('msgAjouterErreur'))
Échec de l'importation.
@if (session('msgAjouterErreur')[0]->count() != 0)
    @foreach (session('msgAjouterErreur')[0] as $key =>$warning)
  • Ligne {{ $key }} : {{ $warning }}.
  • @endforeach
@endif @if (session('msgAjouterErreur')[1]->count() != 0)
    @foreach (session('msgAjouterErreur')[1] as $key => $erreur)
  • Ligne {{ $key }} : {{ $erreur }}.
  • @endforeach
@endif
@endif @if(Session::has('msgAjouterAnnuler'))
Échec de l'importation.
    @foreach (session('msgAjouterAnnuler')[0] as $key => $erreur)
  • Ligne {{ $key }} : {{ $erreur }}.
  • @endforeach
@endif @if(Session::has('msgAjouter'))
{!! session('msgAjouter') !!}
@endif




@if (Session::get('STOCK_ENTITE') == "0" || Session::get('TYPE_STOCK_EMPLACEMENT_MOBILE') == "0") @endif @if(Session::get('CLIENT_PREPARATION_MODIFIER')) @endif @if(Session::get('CLIENT_PREPARATION_DETAIL')) @endif @if(Session::get('CLIENT_PREPARATION_SUPPRIMER')) @endif @foreach($preparations as $preparation) @if($preparation->CommandeClient != null) @else @endif @if ($preparation->Client != null) @else @endif @if($preparation->idTransporteur !=null) @else @endif @if (Session::get('STOCK_ENTITE') == "0" || Session::get('TYPE_STOCK_EMPLACEMENT_MOBILE') == "0") @endif @if(Session::get('CLIENT_PREPARATION_MODIFIER')) @endif @if(Session::get('CLIENT_PREPARATION_DETAIL')) @endif @if(Session::get('CLIENT_PREPARATION_SUPPRIMER')) @endif @endforeach
N° préparation N° commande Raison sociale N° transporteur Date prévueNombre d'UEStatutModifierDétailSupprimer
{!!$preparation->numPreparation!!}{!!$preparation->CommandeClient->numCommande!!} {{ $preparation->Client->raisonSociale }} {!!$preparation->Transporteur->numTransporteur!!} {!!$preparation->datePrevue!!}{!!$preparation->nombreUE!!}{!!$preparation->valeur!!} @if($preparation->valeur!='Préparée' && $preparation->valeur!='Annulée') @endif @if($preparation->valeur!='Préparée') @endif

Affichage de l'élement {{($preparations->currentPage()-1)* $preparations->perPage()+($preparations->total() ? 1:0)}} à {{($preparations->currentPage()-1)*$preparations->perPage()+count($preparations)}} sur {{$preparations->total()}} éléments

{{$preparations->links()}} @foreach($preparations as $preparation)
@endforeach
@endsection