Rapport Stock {{ $date }}

@if ($zone != "")@endif @if ($emplacement != "")@endif @if ($entite != "")@endif @if ($ue != "")@endif @if ($produit != "")@endif
Zone : {{ $zone->libelle }}
Emplacement : {{ $emplacement->libelle }}
{{ trans('lang.ENTITE') }} : {{ $entite->num_entite }}
{{ trans('lang.N°UE') }} : {{ $ue->num_ue }}
Produit : {{ $produit->reference }}
@foreach ($stocks as $stock) @if (!$stock->ligneBonReceptionn->isEmpty()) @if (!$stock->ligneBonReceptionn[0]->numeroSerie->isEmpty()) @else @endif @else @endif @endforeach
{{ trans('lang.ENTITE') }} {{ trans('lang.LIBELLE_ENTITE') }} Contrat N°BC Facture Fournisseur {{ trans('lang.N°Document') }} {{ trans('lang.N°UE') }} Emplacement Référence Produit Désignation Produit Unité Numéro série Qte physique Qte utilisable Qte réelle Date d'entrée en stock Date de réception
{{ $stock['num_entite'] }} {{ $stock['entite']['libelle_entite'] }} @if (isset($stock->ligneBonReceptionUe[0])) @if (!empty($stock->ligneBonReceptionUe[0])) @if ($stock->ligneBonReceptionUe[0]->ligneBonReception != null) @if ($stock->ligneBonReceptionUe[0]->ligneBonReception->bonReception != null) {{ $stock->ligneBonReceptionUe[0]->ligneBonReception->bonReception->contrat }} @endif @endif @endif @endif @if (isset($stock->ligneBonReceptionUe[0])) @if ($stock->ligneBonReceptionUe[0]->ligneBonReception->bonReception->commandeFounisseur != null) {{$stock->ligneBonReceptionUe[0]->ligneBonReception->bonReception->commandeFounisseur->num_commande_fournisseur }} @endif @endif @if (isset($stock->ligneBonReceptionUe[0])) @if (!empty($stock->ligneBonReceptionUe[0])) @if ($stock->ligneBonReceptionUe[0]->ligneBonReception != null) @if ($stock->ligneBonReceptionUe[0]->ligneBonReception->bonReception != null) {{ $stock->ligneBonReceptionUe[0]->ligneBonReception->bonReception->facture }} @endif @endif @endif @endif @if (isset($stock->ligneBonReceptionUe[0])) @if ($stock->ligneBonReceptionUe[0]->ligneBonReception->bonReception->commandeFounisseur) @if ($stock->ligneBonReceptionUe[0]->ligneBonReception->bonReception->commandeFounisseur->Fournisseur) {{$stock->ligneBonReceptionUe[0]->ligneBonReception->bonReception->commandeFounisseur->Fournisseur->societe }} @endif @endif @endif @if (isset($stock->ligneBonReceptionUe[0])) @if (!empty($stock->ligneBonReceptionUe[0])) @if ($stock->ligneBonReceptionUe[0]->ligneBonReception != null) @if ($stock->ligneBonReceptionUe[0]->ligneBonReception->bonReception != null) {{ $stock->ligneBonReceptionUe[0]->ligneBonReception->bonReception->num_document }} @endif @endif @endif @endif {{ $stock->num_ue }} {{ $stock->emplacement->libelle }} @if($stock->produit != null){{ $stock->produit->reference }}@endif @if($stock->produit != null){{ $stock->produit->designation }}@endif @if($stock->produit != null) {{ $stock->produit->uniteMesure->libelle }}@endif @php $count = 1; @endphp @foreach ($stock->ligneBonReceptionn[0]->numeroSerie as $element) @if ($element->statut == 0) @if ($stock->quantite >= $count) {{ $element->num_serie }}; @php $count++; @endphp @endif @endif @endforeach {{ $stock->quantite }} {{ $stock->quantite_utilisable }} {{ $stock->quantite_reelle }} {{ $stock->date_entree }} @if (isset($stock->ligneBonReceptionUe[0])) @if (!empty($stock->ligneBonReceptionUe[0])) @if ($stock->ligneBonReceptionUe[0]->ligneBonReception != null) @if ($stock->ligneBonReceptionUe[0]->ligneBonReception->bonReception != null) {{ $stock->ligneBonReceptionUe[0]->ligneBonReception->bonReception->date_creation }} @endif @endif @endif @endif