{{$configurations->where("label", "CompanyName")->first()->value}}
{{$configurations->where("label", "Postal code")->first()->value}}
{{$configurations->where("label", "Adress")->first()->value}}
{{$configurations->where("label", "Code TVA")->first()->label}}:
{{$configurations->where("label", "Code TVA")->first()->value}}
|
Bon de Commande N° : {{$order->id}} |
{{$client->name}}
{{$client->adress}}
{{$client->city}}
|
Etat : @switch($order->status) @case(0) En attente de validation @break; @case(1) En cours de validation @break; @case(2) Validée @break; @case(3) Annulée @break; @case(4) En attente de traitement @break; @case(5) En cours de livraison @break; @case(6) Livrée @break; @case(7) Rejetée @break; @endswitch | Date Commande: {{ \Carbon\Carbon::parse($order->created_at)->format('d-m-Y H:i') }} | {{-- Edité le :--}} {{-- {{ \Carbon\Carbon::now()->format('d-m-Y H:i') }}--}} Edité le : {{ \Carbon\Carbon::now()->format('d-m-Y H:i') }} par : {{ auth()->user()->name }} |
Réf. | Désignation | Qté Cdée | Qté Livrée | P.U HT | Total H.T | TVA | |||
---|---|---|---|---|---|---|---|---|---|
@if(!empty($line['product_code'])) {{ $line['product_code'] }} @else {{ $line['para_product_code'] }} @endif | @if($line['product_designation'] != '') {{ $line['product_designation'] }} @else {{ $line['para_product_designation'] }} @endif | {{ intval($line['quantity']) == '0'?'': intval($line['quantity']) }} | {{ intval($line['delivered']) == '0'?'':intval($line['delivered'])}} | {{ $line['price_ht'] == '0'? '': $line['price_ht'] }} | {{ ($line['price_ht'] * $line['quantity']) == 0 ? '' : number_format((float)($line['price_ht'] * $line['quantity']), 3, ',', ' ') }} | {{ $line['tva'] == 0.000 ? '' : number_format((float)$line['tva'], 3, ',', ' ') }} | {{--{{$line['tva'] == '0.000' ? '' : intval($line['tva'])}} | --}}
Montant Total HT | {{ number_format($tot_ht, 3, ',', ' ') }} TND | ||||
---|---|---|---|---|---|
TVA | {{ $total_tva == 0.000 ? '0' : number_format($total_tva, 3, ',', ' ') }} TND | ||||
Montant Total TTC | {{ number_format($tot_ttc, 3, ',', ' ') }} TND |
Arrêtée la présente commande à la somme de : {{$price_lettres[0]}} dinars et {{$price_lettres[1]}} millimes |
--}} {{-- Edité par :--}} {{-- {{ auth()->user()->name }}--}} {{-- | --}} {{--