@extends('layouts.AdminMaster') @section('content')
@php $client = $commande->user; @endphp| Produit | Magasin | Lot | Producteur | Qte/Bac | Tige/Bac | Taille | Couleur | Age | HT/Initial | HT/tige | Total HT |
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $cart['produit'] ? $cart['produit']->nom_produit : null }} | {{ $cart['produit'] ? $cart['produit']->entreprise : null }} | {{ $cart['produit'] ? $cart['produit']->lot : null }} | {{ $cart['produit'] ? $cart['produit']->producteur : null }} | {{ $cart['qty'] }} | {{ $cart['produit'] ? $cart['produit']->nbre_tiges : null }} | {{ $cart['produit'] ? $cart['produit']->taille : null }} | {{ $cart['produit'] ? $cart['produit']->couleur : null }} | {{ $cart['produit'] ? $cart['produit']->date_arrivage->diffInDays($commande->created_at) : null }} J | @if($cart['produit'] && $cart['produit']->prix_mini) {{$cart['produit']->prix_mini}} {{$infos->devise}} @endif | {{$cart['produit'] ? $cart['produit']->prix_vente : null}} {{$infos->devise}} | {{ $cart['subtotal'] }} {{$infos->devise}} |
| Sous Total | {{ $commande->sub_total }} {{ $infos->devise }} | ||||||||||
| Remise | - {{ $commande->remise }} {{ $infos->devise }} | ||||||||||
| Total HT | {{ $commande->total }} {{ $infos->devise }} | ||||||||||
| TVA : | {{ $commande->taxe }} {{ $infos->devise }} | ||||||||||
| Total de la Précommande : | {{ $commande->total }} {{ $infos->devise }} | ||||||||||
| Numéro | client | Prix total | Date de la Précommande | Bacs | Livraison | Options |
|---|---|---|---|---|---|---|
| @if($commande->subCommandes && $commande->subCommandes->count()>0) @endif {{ $commande->numero or $commande->id }} | {{$commande->user->code or ''}}: {{$commande->user->name or ''}} | {{$commande->total}} {{ $infos->devise }} | {{$commande->created_at}} | {{$commande->bacs}} | {{$commande->adresse_livraison ? 'OUI' :'NON'}} | id)}}" class="btn btn-info btn-xs"> Visualiser @if($commande->commentaire)@endif {{--afficher l'icon commentaire s'il existe--}} |