@extends('layouts.index') @section("css") @endsection @section('contents')
{{--

Récapitulation de la commande

Processus de la facturation

--}}
@php $articles = $order->orderItem; @endphp
({{ $articles->count() }}) Articles
Les articles de la commande #{{ $order->code }}
@foreach ($articles as $article)

{{ $article->article->name }}

F CFA {{ number_format(($article->price),2,',',' '); }} {{ config("app.priceView")[$article->price_type] }} F CFA {{ number_format(($article->price * $article->quantity),2,',',' '); }}
@endforeach
Veuillez selectionner la méthode de paiement
Veuillez renseigner ce champs
Total à Payer
F CFA {{ number_format($order->total_amount,2,',',' '); }}
Reste à Payer
F CFA {{ number_format($order->reste_amount,2,',',' '); }}
Client

{{ $order->client->firstname." ".$order->client->lastname }}


Pays: {{ config("app.countriesViews")[$order->client->company_country] }}

Site: {{ $order->client->site->name }}

@if (isAdmin())
Contact: {{ $order->client->phone }}
{{ $order->client->email }}

@endif
Tags
@foreach ($order->client->tag as $tag)
{{ $tag->name }}
@endforeach
@endsection @section('js') @endsection()