@extends('layouts.admin') @section('content') Retour à la liste

Action Rapide

Voire la commande @if($commande->fk_statut == 4) Classer réceptionné @endif @if($commande->fk_statut == 5)
@csrf
@endif

{{$commande->societe->nom ?? '' }}

Fournisseur

  • {{ $commande->societe->address ?? '' }}

    Adresse

  • {{ $commade->societe->phone ?? ''}}

    Téléphone

Agent

{{ $commande->user->name ?? '' }}

Date Commande

{{ Carbon\Carbon::parse($commande->date_commande)->format('d/m/Y') ?? '' }}

Statut

@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

Montant Commande

{{ number_format($commande->total_ttc, 0, '', ' ') ?? ''}} FCFA

Réf. Commande

#{{ $commande->ref ?? '' }}

Date Commande

{{ Carbon\Carbon::parse($commande->date_commande)->format('d/m/Y') ?? '' }}

Date Réception

{{ ($commande->date_reception != NULL ) ? Carbon\Carbon::parse($commande->date_reception)->format('d/m/Y') : 'Pas encore reçu !' }}

Date Validation Commande

{{ Carbon\Carbon::parse($commande->date_valid)->format('d/m/Y') ?? ''}}

Date Commande Approuvée

{{ Carbon\Carbon::parse($commande->date_valid)->format('d/m/Y') ?? ''}}

Montant

{{ number_format($commande->total_ttc, 0, '', ' ') ?? ''}} FCFA

Statut

@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

Produit(s) Commandé(s)

@if($commande->fk_statut == 0 || $commande->fk_statut == NULL) +Ajouter un Produit @endif
@if($commande->fk_statut == 0 || $commande->fk_statut == NULL) @endif @foreach($commande->commandedet as $c) @if($commande->fk_statut == 0 || $commande->fk_statut == NULL) @endif @endforeach
Produit Description Client Prix Quantité Montant Type de Commande Action
{{ $c->product->label ?? '' }} {{ $c->description }} {{ $c->fk_societe ?? ' ' }} {{ number_format($c->subprice, 0 ,'', ' ') }} {{ $c->qty }} {{ number_format($c->total_ttc, 0, '', ' ') }} @if($c->type_commande == 1) EMC @elseif($c->type_commande == 2) EMC-LIBRE @elseif($c->type_commande == 3) Personel @elseif($c->type_commande == 4) Offre @elseif($c->type_commande == 5) Autres @endif
@if($commande->fk_statut == 0 || $commande->fk_statut == NULL )
@csrf
@else
@csrf
@endif Générer une commande @if($commande->fk_statut == 4) Choisir une date de livraison
@csrf
@endif @if($commande->fk_statut == 5)
@csrf
@endif

Evénement(s)

@foreach($activites as $a) @endforeach
Date Objet Opération Utilisateur Description
{{ $a->date }} {{ $a->objet }} {{ $a->operation }} {{ App\User::find($a->user_id)->name }} {{ $a->description }}
@include('admin.commande_fournisseurs.modal.nouveau-bl') @include('admin.commande_fournisseurs.modal.nouveau-br') @include('admin.commande_fournisseurs.modal.ajouter-produit') @include('admin.commande_fournisseurs.modal.modifier-produit') @include('admin.commande_fournisseurs.modal.modifier-commande') @include('admin.commande_fournisseurs.modal.modifier-fournisseur') @include('admin.commande_fournisseurs.modal.date-reception')
@endsection