@extends('app') @section('content')
@if(Session::get('FOURNISSEURS_RECEPTION_AJOUTER'))
Ajouter
@if(Session::get('FOURNISSEURS_RECEPTION_IMPORTER')) Importer @endif
@endif

Gestion des réceptions des commandes fournisseur

@if(Session::has('msgDelete'))
{!! session('msgDelete') !!}
@endif @if(Session::has('msgErreurReception'))
{!! session('msgErreurReception') !!}
@endif @if(Session::has('msgSupprimer'))
{!! session('msgSupprimer') !!}
@endif @if(Session::has('msgAjouter'))
{!! session('msgAjouter') !!}
@endif @if(Session::has('msgAjouterAnnuler'))
Échec de l'importation.
    @foreach (session('msgAjouterAnnuler')[0] as $key => $erreur)
  • Ligne {{ $key }} : {{ $erreur }}.
  • @endforeach
@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($errors->any())
{!! $errors->first() !!}
@endif
@if(Session::get('FOURNISSEURS_RECEPTION_EXPORTER')) {!! Form::open(['method'=>'POST','action' => ['BonReceptionFournisseurControlleur@export']]) !!}
{!! Form::close() !!} @endif
{!! Form::open(['method'=>'POST','action' => ['BonReceptionFournisseurControlleur@recherche']]) !!}



{!! Form::close() !!} @if(Session::get('STOCK_ENTITE') == "1") @endif @if(Session::get('FOURNISSEURS_RECEPTION_DETAIL')) @endif @if(Session::get('FOURNISSEURS_RECEPTION_MODIFIER')) @endif @if(Session::get('FOURNISSEURS_RECEPTION_SUPPRIMER')) @endif @foreach( $bons_receptions as $bon_reception) @if ($bon_reception->commandeFounisseur != null ||$bon_reception->commandeFounisseur != '' ) @else @endif @if ($bon_reception->commandeFounisseur != null ||$bon_reception->commandeFounisseur != '') @if ($bon_reception->commandeFounisseur->fournisseur != null ||$bon_reception->commandeFounisseur->fournisseur != '') @else @endif @else @endif @if(Session::get('STOCK_ENTITE') == "1") @endif @if($bon_reception->statut==0 ) @elseif($bon_reception->statut==2 || $bon_reception->statut == 1) @elseif($bon_reception->statut==3) @endif @if(Session::get('FOURNISSEURS_RECEPTION_DETAIL')) @if (($bon_reception->commandeFounisseur != null ||$bon_reception->commandeFounisseur != '')&& (Session::get('STOCK_ENTITE') == "0")) @else @endif @endif @if (($bon_reception->commandeFounisseur != null ||$bon_reception->commandeFounisseur != '') && Session::get('STOCK_ENTITE') == "0") @if(Session::get('FOURNISSEURS_RECEPTION_MODIFIER')) @if ($bon_reception->statut == 0) @else @endif @endif @else @if(Session::get('FOURNISSEURS_RECEPTION_MODIFIER')) @if ($bon_reception->statut == 0) @else @endif @endif @endif @if(Session::get('FOURNISSEURS_RECEPTION_SUPPRIMER')) @if ($bon_reception->statut == 0) @else @endif @endif
@endforeach
N° de bon de réception N° de commande FournisseurN° de document EntitéDate bon de réception StatutDétailModifierSupprimer
{!!$bon_reception->num_bon_reception!!} {!!$bon_reception->commandeFounisseur->num_commande_fournisseur!!} {!!$bon_reception->commandeFounisseur->fournisseur->societe!!} {!!$bon_reception->num_document!!} {!!$bon_reception->entite->type_entite!!}/{!!$bon_reception->entite->num_entite!!}/{!!$bon_reception->entite->libelle_entite!!} {!!$bon_reception->date_creation!!}En attente réceptionEn attente validationValidé
@endsection