@extends('admin.layouts.default') @section('content')
@if (isCurrent('admin.devis')) Liste des devis @else Liste des commandes @endif
@if (isCurrent('admin.devis')) @else @endif @foreach ($cmd as $c) @if (isCurrent('admin.devis')) @else @endif @endforeach
Id Numéro du devisNuméro du commandeNuméro de projet / consultation Nom du client Email du client Date de commande Montant Statut Action
{{ $c->id }} {{ $c->reference }} {{ $c->projet_id }} {{ $c->consultation_id }} {{ $c->user->prenom ?? '' }} {{ $c->user->nom ?? '' }} {{ $c->user->email ?? '' }}{{ $c->created_at }}{{ $c->paiement->created_at ?? '---' }}{{ $c->total ?? $c->total == 0 ? $c->total . ' €' : '---' }} {{ $c->statut }}
@include('admin.partials.modals.deleteDevis', $c)
@endsection