Date | Code Vente | Fournisseur | Produits | Paiement | TVA | Total | Statut |
---|---|---|---|---|---|---|---|
{{ \Carbon\Carbon::create($command->date)->isoFormat('ll') }}
|
{{ ($command->code)?$command->code:"" }}
|
{{ ($command->supplier_id)?$command->supplier->name:"" }}
|
@php
$products = json_decode($command->products);
@endphp
@foreach($products as $product)
{{ $product->command_quantity }} {{ json_decode($product->command_measure)->unit }}(s) de {{ $product->product }},
@endforeach |
{{ (isset($command->paymentMethod))?$command->paymentMethod->method:null }}
|
{{ $command->tva }}
|
{{ $command->total }} FCFA
|
{{ $command->state->name }}
|
Créer le {{ \Carbon\Carbon::now()->isoFormat('lll') }}