@extends('app') @section('content') Modifier la commande client @if(Session::get('erreur')) {{ Session::get('erreur') }} @endif @if(Session::has('msgAdd')) {!! session('msgAdd') !!} @endif @if(Session::has('msgExist')) {!! session('msgExist') !!} @endif {!! Form::open(['method'=>'PUT','action' => ['CommandeClientController@postFormEdit', $commande_client->idCommande]]) !!} N° Commande client : Fournisseur : Sélectionner le client ... @foreach($clients as $client) idClient == Session::get('idClient')) selected @endif> {{$client->raisonSociale}} @endforeach Contact client : Adresse : Date de création : Ajout produit Référence produit Désignation Quantité TVA (%) Prix Unitaire H.T Prix Unitaire T.T.C Totale H.T Totale T.T.C Modifier Annuler @foreach( $lignescommande as $ligne) {!!$ligne->produit->reference!!} {!!$ligne->produit->designation!!} {!!(float)$ligne->quantiteCommande!!} {!!$ligne->tva!!} {!!number_format($ligne->prixHT,2)!!} {!!number_format($ligne->prixTTC,2)!!} {!!number_format($ligne->totalPrixHT,2)!!} {!!number_format($ligne->totalPrixTTC,2)!!} ( ! ) Notice: Undefined variable: ligne in C:\wamp64\www\old_bo\bo\resources\views\commande_client\modifier.blade.php on line 180 Call Stack #TimeMemoryFunctionLocation 10.0538266064{main}( )...\modifier.blade.php:0 ( ! ) Notice: Trying to get property of non-object in C:\wamp64\www\old_bo\bo\resources\views\commande_client\modifier.blade.php on line 180 Call Stack #TimeMemoryFunctionLocation 10.0538266064{main}( )...\modifier.blade.php:0 ( ! ) Notice: Undefined variable: ligne in C:\wamp64\www\old_bo\bo\resources\views\commande_client\modifier.blade.php on line 181 Call Stack #TimeMemoryFunctionLocation 10.0538266064{main}( )...\modifier.blade.php:0 ( ! ) Notice: Trying to get property of non-object in C:\wamp64\www\old_bo\bo\resources\views\commande_client\modifier.blade.php on line 181 Call Stack #TimeMemoryFunctionLocation 10.0538266064{main}( )...\modifier.blade.php:0 @endforeach Total TTC TVA Total HT Annuler Valider {!! Form::close() !!} × Ajout produit {!! Form::open(['method'=>'POST','action' => ['CommandeClientController@postAddLigneCommandeEdit', $commande_client->idCommande]]) !!} Produit Sélectionner le produit @foreach($produits as $produit) {{$produit->reference}} -- {{$produit->designation}} @endforeach T.V.A Prix Unitaire H.T Quantité Prix Uniaire T.T.C Totale H.T Totale TTC {!! Form::close() !!} @foreach($lignescommande as $ligne) × Modifier produit {!! Form::open(['method'=>'PUT','action' => ['CommandeClientController@postEditeLigneCommandeEdit',$ligne->idLigneCommandeProduit,$commande_client->idCommande]]) !!} Produit Sélectionner le produit @foreach($produits as $produit) id_produit == $ligne->idProduit) selected @endif> {{$produit->reference}} -- {{$produit->designation}} @endforeach T.V.A Prix Unitaire H.T Quantité Prix Uniaire T.T.C Totale H.T Totale TTC {!! Form::close() !!} × Confirmation Voulez-vous vraiment supprimer ce produit de la commande ? @endforeach @endsection
Voulez-vous vraiment supprimer ce produit de la commande ?