@extends('layouts.admin') @section('content') @can('client_create') LISTE DES COMMANDE FOURNISSEUR
Nouvelle Commande Fournisseur
@endcan

LISTE DES COMMANDES FOURNISSEURS



@foreach($commandes as $key => $commande) @endforeach
Ref. Fournisseur Date Montant Banque Auteur Statut Action
{{ $commande->ref ?? '' }} {{ $commande->societe->nom ?? '' }} {{ Carbon\Carbon::parse($commande->date_creation)->format('d/m/Y') ?? '' }} {{ number_format($commande->total_ttc, 0, '', ' ') ?? '' }} @if($commande->commandeextra) @if($commande->commandeextra->banque == 2) CMS @else CBAO @endif @else CBAO @endif {{ $commande->user->name ?? '' }} @if($commande->fk_statut == 0) Brouillon @elseif($commande->fk_statut == 1) Validé @elseif($commande->fk_statut == 2) Approuvé @elseif($commande->fk_statut == 3) Commandé @elseif($commande->fk_statut == 4) Commandé - En cours @elseif($commande->fk_statut == 5) Produit Reçu @endif @can('commande_fournisseur_voire') @endcan @can('commande_fournisseur_supprimer')
@endcan
@endsection @section('scripts') @parent @endsection