@extends('layouts.admin') @section('content')

shopping_cart Gérer vos ventes en ligne

@if (auth()->user()->role == "Webmaster") {!! Html::link(action('\Plugins\Vente\Controller\VenteController@edit_parametres'), "Modifier les paramètres de la vente en ligne", array("class" => "btn btn-sm bg-black waves-effect m-l-15 pull-right")) !!} {!! Html::link(action('\Plugins\Vente\Controller\VenteController@edit_cgv'), "Gérer les conditions générales de vente", array("class" => "btn btn-sm bg-grey waves-effect m-l-15 pull-right")) !!} @endif

Gestion des commandes

Gérer les informations de commande

{!! Html::link(action('\Plugins\Vente\Controller\VenteController@admin_commande'), 'Liste complète', array("class" => "btn btn-sm bg-teal waves-effect m-l-15 pull-right")) !!}

LISTE DES 5 DERNIÈRES COMMANDES

@if (sizeof($last_commandes) > 0) @foreach ($last_commandes as $commande)
Ref. Date Nom du client Nbr. d'articles Mode Montant Statut Action
{!! Html::link(action('\Plugins\Vente\Controller\VenteController@admin_detail_commande', array('id' => $commande->id)), $commande->reference, array("class" => "link")) !!} {{ strftime("%d %B %Y à %H:%M", strtotime($commande->date)) }}

Fatal error: Uncaught Error: Call to undefined function getTotalProduit() in /home/trutinauto/public_html/resources/views/plugins/vente/admin.blade.php:85 Stack trace: #0 {main} thrown in /home/trutinauto/public_html/resources/views/plugins/vente/admin.blade.php on line 85