@php $ModeGPHARMA = DB::table('PARAMETRE')->select('ModeGpharma')->first()->ModeGpharma ?? 1; foreach ($tableauParam as $key => $value) { $info = $value['info']; $barcodeImage = $value['barcodeImage']; $donneesLigne = $value['donneesLigne']; if($info == null){ continue; } $NomAgence = $info -> NomAgence ?? ''; $libelleTournee = $info -> LibelleTournee ?? ""; @endphp @if($key != 0)
@endif
Logo de l\'entreprise


@if($ModeGPHARMA == 2) AGENCE : {{ $NomAgence}}

@endif TOURNEE : {{ $libelleTournee}}

@isset( $info -> LibelleGroupementClient) @if ($info -> LibelleGroupementClient != null && $info -> LibelleGroupementClient != '') GROUPEMENT : {{ $info -> LibelleGroupementClient}}

@endif @endisset
Date : {{ $info == null ? "" : convertirDateLettre($info -> DateCommandeClient)}}
BON DE COMMANDE N° {{ $info == null ? "" : $info -> NumeroCommandeClient}}

Barcode

N° CLIENT : {{ $info -> CodeClient}}
{{ $info -> NomClient }}


@if ($info -> RepresentantLegalClient != null && $info -> RepresentantLegalClient != '') {{ $info -> RepresentantLegalClient }}
@endif @if ($info -> AdresseGeoClient != null && $info -> AdresseGeoClient != '') {{ $info -> AdresseGeoClient }}
@endif @if ( $info -> NumeroCC != null && $info -> NumeroCC != '') N° CC : {{ $info -> NumeroCC }}
@endif @if ($info -> NumeroRC != null && $info -> NumeroRC != '') N° RC : {{ $info -> NumeroRC }}
@endif @if ( $info -> TelephoneFixeClient != null && $info -> TelephoneFixeClient != '') TEL. FIXE : {{ $info -> TelephoneFixeClient }}
@endif
@php foreach ($donneesLigne as $key => $Ligne) { @endphp @php } @endphp
BON DE COMMANDE N° {{ $info -> NumeroCommandeClient}}

{{ $info -> NomClient}}
N° CIP DESIGNATION
PRODUIT
QTE A
COLLECTER
QTE FACTUREE UG
{{ $key + 1 }} {{ $Ligne -> CodeCipProduit1 }} {{ $Ligne -> DesignationProduit }} {{ $Ligne -> QteAffecteeTotale }} {{ $Ligne -> QteAffectee }} {{ $Ligne -> QteUniteGratuite }}
@php } @endphp