{{-- --}}
{{-- @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 .= "
| ".__("Container No")." | ".__("Seal")." | ".__("Container Type")." | ".__("Container Size")." |
|---|---|---|---|
| $container->container_number | "; $table1.="$container->seal | "; $table1.="$container->type | "; $table1.="$container->size | "; $table1.="
| ".__("Chassi no")." | ".__("Gross weight")." | ".__("Description")." |
|---|---|---|
| $vehicle->chassi | "; $table1.="$vehicle->weight Kg | "; $table1.="".substr($vehicle->description,0,40)." | "; $table1.="
| 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 | ||||||||||||||||
|
{!! $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
|
||||||||||||||||
| --}}
|
|
| 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-TCHADVérifié et approuvé |