@extends('layouts.AdminMaster') @section('content')
@php $client = $commande->user; @endphp| Plante | Lot | {{--Producteur | --}}Qte/Bac | Pot/Bac | Taille | Couleur | Qualité | {{--Age | --}}HT POT | HT | Total HT |
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $cart['plante'] ? $cart['plante']->nom_produit : null }} | {{ $cart['plante'] ? $cart['plante']->lot : null }} | {{--{{ $cart['plante'] ? $cart['plante']->producteur : null }} | --}}{{ $cart['qty'] }} | {{ $cart['plante'] ? $cart['plante']->nbre_tiges : null }} | {{ $cart['plante'] ? $cart['plante']->taille : null }} | {{ $cart['plante'] ? $cart['plante']->couleur : null }} | {{ $cart['plante'] ? $cart['plante']->qualite : null }} | {{--{{ $cart['plante'] ? $cart['plante']->date_arrivage->diffInDays($commande->created_at) : null }} J | --}}{{$commande->bacs >=6 ? $cart['plante']->prix_tige_remise : $cart['plante']->prix_tige}} {{$infos->devise}} | {{$commande->bacs >=6 ? $cart['plante']->prix_remise : $cart['plante']->prix_vente}} {{$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--}} |