{{-- --}} {{-- @if(config("app.env")!="local")--}} {{--@endif--}} @php $check =''; $uncheck = ''; $shipper = ($besc->shipper->name ?? ""); $consignee = ($besc->consignee->name ?? "") ; $notifyparty = ($besc->notifyparty->name ?? ""); $qrcode = QrCode::size(100)->generate($besc->reference); $table1 = ""; if($besc->shipment_method == "fcl_container" || $besc->shipment_method == "ro_ro"){ if($besc->shipment_method == "fcl_container" && $besc->containers->count() < 5 ){ $table1 .= ""; foreach($besc->containers as $container){ $table1.=""; $table1.=""; $table1.=""; $table1.=""; $table1.=""; $table1.=""; } $table1.="
".__("Container No")." ".__("Seal")." ".__("Container Type")." ".__("Container Size")."
$container->container_number$container->seal$container->type$container->size
"; } if($besc->shipment_method == "ro_ro" && $besc->vehicles->count() < 5 ){ $table1 = ""; foreach($besc->vehicles as $vehicle){ $table1.=""; $table1.=""; $table1.=""; $table1.=""; $table1.=""; } $table1.="
".__("Chassi no")." ".__("Gross weight")." ".__("Description")."
$vehicle->chassi$vehicle->weight Kg".substr($vehicle->description,0,40)."
"; } }else{ } @endphp

Référence BESC : {{$besc->reference}} - {{ $besc->total}} Euros

{{ strtoupper(__("besc_type." . $besc->type)) }}
Expéditeur:Shipper
{{ strtoupper($besc->shipper->name ?? "")}}
Destinataire:Consignee
{{ strtoupper($besc->consignee->name ?? "")}}
Partie à Notifier:Notify Party
{{ strtoupper($besc->notifyparty->name ?? "")}}
Armateur:Carrier {{ strtoupper($besc->carrier->name ?? "")}} Port de déchargement:Port of discharge {{ strtoupper($besc->dischargeport->name ?? "")}}
Navire:Vessel {{ strtoupper($besc->vessel->name ?? "")}} Connaissement:Bill of lading {{ strtoupper($besc->bill_of_lading_number ?? "")}}
Numéro Voyage:Voyage Number {{ strtoupper($besc->voyage_number ?? "")}} Contrat de vente:Incoterm {{ strtoupper($besc->incoterm->name ?? "") }}
Pays d'embarquement:Country of loading {{ strtoupper($besc->loadport->country ?? "") }} Valeur FOB:FOB Value {{ ($besc->fob_costs ?? 0) . " " . \App\Currency::find($besc->fob_costs_currency_id ?? 1)->code ?? "EUR" }}
Port d'embarquement:Port of loading {{ strtoupper($besc->loadport->name ?? "") }} Fret maritime:Sea freight {{ ($besc->sea_freight ?? 0) . " " . \App\Currency::find($besc->sea_freight_currency_id ?? 1)->code ?? "EUR" }}
Date d'embarquement:Shipped on board date {{ \Illuminate\Support\Carbon::parse($besc->date_shipped)->format("d M Y") }} Frais supplémentaires:Extra Charges {{ ($besc->others ?? 0) . " " . \App\Currency::find($besc->others_currency_id ?? 1)->code ?? "EUR" }}
{{----}}
Mode d'embarquementKind of shipment Description de la Marchandise + Numéros de Conteneurs/Chassis Description of Goods + Containers/Chassis Numbers
Conteneurs-FCLContainers-FCL {!! ($besc->shipment_method == "fcl_container")? $check : $uncheck !!}
Nombre/Quantity Ctn 20' :{{ $besc->nb_containers_20 ?? 0 }}
Nombre/Quantity Ctn 40' :{{ $besc->nb_containers_40 ?? 0 }}
RO/RO-Véhicules RO/RO-Vehicles {!! ($besc->shipment_method == "ro_ro")? $check : $uncheck !!}
Nombre/Quantity Veh <5T :{{ $besc->nb_vehicles1 ?? 0 }}
Nombre/Quantity Veh >=5T :{{ $besc->nb_vehicles2 ?? 0 }}
Groupage (FCL)Consolidation {!! ($besc->shipment_method == "consolidation")? $check : $uncheck !!}
Conventionnel-VracConventional-Bulk {!! ($besc->shipment_method == "bulk")? $check : $uncheck !!}

{!! $besc->description !!}

@if($besc->shipment_method == "fcl_container" || $besc->shipment_method == "ro_ro") @if($besc->shipment_method == "fcl_container" && $besc->containers->count() < 5 ) Numéros de Conteneurs - Container Numbers
{{$container->container_number}}  {{$container->seal}}  {{$container->type}}  {{$container->size}}
@elseif($besc->containers->count() >= 5 )
Voir page suivante pour les details / Details on next page
@else @endif @if($besc->shipment_method == "ro_ro" && $besc->vehicles->count() < 5 ) Numéros de Chassis - Chassi Numbers
{{$vehicle->chassi}}  {{$vehicle->weight}}  {{substr($vehicle->description,0,40)}}
@elseif($besc->vehicles->count() >= 5 )
Voir page suivante pour les details / Details on next page
@else @endif @else @endif
Clinker-Gypse-CalcaireClinker-Gypsum-Limestone {!! $uncheck !!}
Volume ( m3 ) :Volume ( m3 ) {{ ($besc->volume ?? 0) . " CBM" }}
Poids Brut ( Kg ) :Gross Weight ( Kg ) {{ ($besc->gross_weight ?? 0) . "kg" }}
BESC créé par :ECTN created by {{ $besc->agency->name ?? "" }}, {{ \Illuminate\Support\Carbon::parse($besc->created_at)->format("d M Y") }}
BESC validé par :ECTN validated by {{ $besc->validator->name ?? "" }}, {{ \Illuminate\Support\Carbon::parse($besc->validated_at)->format("d M Y") }}
{!! $qrcode !!}

Pour le COC-TCHAD

Vérifié et approuvé